1.0.12 • Published 5 years ago

optimize-wasm-webpack-plugin v1.0.12

Weekly downloads
9
License
Apache-2.0
Repository
github
Last release
5 years ago

npm node deps tests cover size

optimize-wasm-webpack-plugin

This plugin uses binaryen to optimize your WebAssembly.

Requirements

This module requires a minimum of Node v6.11.5 and Webpack v4.0.0.

Getting Started

To begin, you'll need to install optimize-wasm-webpack-plugin:

$ npm install optimize-wasm-webpack-plugin --save-dev

Then add the plugin to your webpack config. For example:

webpack.config.js

const OptimizeWasmPlugin = require('optimize-wasm-webpack-plugin');

module.exports = {
  optimization: {
    minimizer: [new OptimizeWasmPlugin()],
  },
};

And run webpack via your preferred method.

License

Apache 2.0

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.1

5 years ago

0.1.0-alpha1

5 years ago

0.1.0

5 years ago