Fix playground, plus misc. cleanup

The playground was trying to build with a now-missing entry point.
Also, I fixed some JSDoc comments, added HTML labels, etc. until IDEA
had no meaningful complaints about `playground/index.html`.
This commit is contained in:
Christopher Willis-Ford 2018-01-10 17:42:38 -08:00
parent 63fc1c6f64
commit e958e4bfff
4 changed files with 21 additions and 11 deletions

View file

@ -40,10 +40,11 @@ module.exports = [
Object.assign({}, base, {
target: 'web',
entry: {
'scratch-render': './src/index-web.js'
'scratch-render': './src/index.js'
},
output: {
library: 'ScratchRender',
libraryTarget: 'umd',
path: path.resolve('playground'),
filename: '[name].js'
},