mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-27 01:51:56 +00:00
.cargo
crates
examples
add
canvas
char
closures
console_log
dom
duck-typed-interfaces
fetch
src
.gitignore
Cargo.toml
README.md
build.sh
index.js
package.json
webpack.config.js
guide-supported-types-examples
hello_world
import_js
julia_set
no_modules
paint
performance
wasm-in-wasm
wasm2js
webaudio
webgl
README.md
guide
releases
src
tests
.appveyor.yml
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
build.rs
package.json
publish.rs
15 lines
312 B
JavaScript
15 lines
312 B
JavaScript
const path = require('path');
|
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
|
|
module.exports = {
|
|
entry: './index.js',
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'),
|
|
filename: 'index.js',
|
|
},
|
|
plugins: [
|
|
new HtmlWebpackPlugin()
|
|
],
|
|
mode: 'development'
|
|
};
|