wasm-bindgen/examples/paint/webpack.config.js

17 lines
358 B
JavaScript
Raw Normal View History

2018-09-13 02:10:23 +03:00
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({
template: "index.html"
})
],
mode: 'development'
};