npm.io
1.1.8 • Published 3 years ago

@dudojs/webpack

Licence
MIT
Version
1.1.8
Deps
18
Size
6 kB
Vulns
0
Weekly
0
Stars
11

@dudojs/webpack

Compose webpack.config.js with awesome style!

Usage

At your webpack.config.js,

const composeWebpack = require('@dudojs/webpack');
module.exports = composeWebpack({
    name: 'folderName',
    outputPath: 'path/to/your/output/folder',
    publicPath: '/your/public/path',
    entry: {
        'entry1': 'path/to/entry1',
        'entry2': 'path/to/entry2',
        // ...
    },
    options: {
        // Your custom webpack options
    },
});

License

Please read at here

Keywords