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

15 lines
312 B
JavaScript
Raw Normal View History

2018-08-18 17:20:42 -04:00
const path = require('path');
2018-09-11 08:42:22 +03:00
const HtmlWebpackPlugin = require('html-webpack-plugin');
2018-08-18 17:20:42 -04:00
module.exports = {
entry: './index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
},
2018-09-11 08:42:22 +03:00
plugins: [
new HtmlWebpackPlugin()
],
2018-08-18 17:20:42 -04:00
mode: 'development'
};