This is a Webpack plugin that wrapped
nw-builder
.
npm
npm install --save-dev nw-builder-webpack-plugin
const NwBuilderPlugin = require('nw-builder-webpack-plugin');
module.exports = {
// ...
plugins: [
// ...
new NwBuilderPlugin({
platforms: ['osx64', 'win32', 'win64'],
version: '0.24.1'
})
]
};
Change default value
nw-builder: null
nw-builder-webpack-plugin: ${output.path}/**/**