drawing shapes on a canvas when the user clicks

This commit is contained in:
Gavin McDonald
2016-02-17 10:32:14 -05:00
commit f7cb7c094a
18 changed files with 1665 additions and 0 deletions

21
webpack.config.js Normal file
View File

@@ -0,0 +1,21 @@
var path = require('path');
module.exports = {
entry: path.join(__dirname, 'src', 'main.js'),
output: {
libraryTarget: 'this',
path: path.join(__dirname, 'public', 'js'),
filename: 'main.js'
},
devtool: 'inline-source-map',
module: {
loaders: [{
test: path.join(__dirname, 'src'),
loader: 'babel-loader',
query: {
presets: ['es2015']
}
}]
}
};