@place-framework/place-webpack-preset
v2.0.5
Published
A baseline webpack configuration used in conjunction with Place Framework.
Downloads
6
Maintainers
Readme
PLACE Webpack Preset
Introduction
The premise of this preset is to have a solid jumpoff point with the PLACE Framework. It comes with the framework paths included through proper loaders built in for compilation, but needs the framework as a dependency in your root project. Please see the PLACE Vue Starter for an example.
Implementation
The PLACE Webpack Preset is constructed as a JS class, with options for merging and layering your own config through the config
key. For example:
module.exports = (env) => {
const PlaceWebpackPreset = require('@place-framework/place-webpack-preset');
return new PlaceWebpackPreset({
config: require('./webpack.your.config'),
env
});
};