wasm-bindgen/examples/webgl/webpack.config.js
2018-09-17 20:59:26 -07:00

17 lines
358 B
JavaScript
Executable File

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'
};