@dudojs/webpack

1.1.8 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @dudojs/webpack

Weekly Downloads

2

Version

1.1.8

License

MIT

Unpacked Size

6.17 kB

Total Files

4

Last publish

Collaborators

  • ducdhm