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

17 lines
358 B
JavaScript
Raw Normal View History

2018-09-16 09:28:15 +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'
};