0.1.1 • Published 4 years ago

nexe-webpack-plugin v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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

0.1.1

4 years ago

0.1.0

4 years ago