An open API service indexing awesome lists of open source software.

https://github.com/vegawong/lazy-webpack

easy to setup for webpack
https://github.com/vegawong/lazy-webpack

webpack webpack2

Last synced: 9 months ago
JSON representation

easy to setup for webpack

Awesome Lists containing this project

README

          

# easy-webpack-plus
easy to setup for webpack

## USAGE:
```javascript
// 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;
```

## 可用的Presets

- [babel](/presets/lazy-webpack-preset-babel/README.md)

- [sass](/presets/lazy-webpack-preset-sass/README.md)

- [icon](/presets/lazy-webpack-preset-icon/README.md)

- [img](/presets/lazy-webpack-preset-img/README.md)