1.1.0 • Published 5 years ago

nw-builder-webpack-plugin v1.1.0

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

NW.js Builder Webpack Plugin

This is a Webpack plugin that wrapped nw-builder.

Getting Started

Installation

npm install --save-dev nw-builder-webpack-plugin

Usage

webpack.config.js

const NwBuilderWebpackPlugin = require('nw-builder-webpack-plugin');

module.exports = {
  // ...
  plugins: [
    // ...
    new NwBuilderWebpackPlugin({
      platforms: ['osx64', 'win32', 'win64'],
      version: '0.24.1',
    })
  ]
};

Options

See nw-builder#Options

Change default value

options.files

nw-builder: null
nw-builder-webpack-plugin: ${output.path}/**/**

Change default value

options.flavor

nw-builder: sdk
nw-builder-webpack-plugin: mode === 'development ? 'sdk' : 'normal'

modevalue
developmentsdk
productionnormal
1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.1

7 years ago