Update demo to use Webpack

This commit is contained in:
Paris Kasidiaris
2017-12-12 08:46:06 +00:00
parent e39d10e12f
commit 8830820821
12 changed files with 61 additions and 30 deletions
+10
View File
@@ -0,0 +1,10 @@
const path = require('path');
module.exports = {
entry: './demo/main.js',
output: {
path: path.resolve(__dirname, 'demo/dist'),
filename: 'bundle.js'
},
devtool: 'source-map'
};