lazy-webpack
v2.0.2
Published
easy to setup webpack or dev-server
Downloads
3
Readme
easy-webpack-plus
easy to setup for webpack
USAGE:
// webpack.config.js
const getConfig = require('lazy-webpack');
let config = getConfig({
in: {
app: 'src/main.js'
},
out: {
path: 'dist',
publicPath: 'http://localhost:3000/dist/'
},
presets: ['babel', 'sass'] // can be string(preset-name) or object
});
module.exports = config;