0.1.1 • Published 4 years ago
nexe-webpack-plugin v0.1.1
nexe-webpack-plugin
Webpack plugin to emit binary package compiled by nexe
Getting Started
Installation:
$ npm install -D nexe-webpack-plugin
Configuration:
webpack.config.js
const { NexePlugin } = require('nexe-webpack-plugin');
const { resolve } = require('path');
module.exports = {
mode: 'development',
entry: './entry.js',
output: {
path: resolve(__dirname, 'build'),
},
plugins: [
new NexePlugin({
output: 'sample-bin',
}),
],
};
This emits build/entry.js
and build/sample-bin
that is compiled by nexe.
License
MIT © fmatzy