Configuration updates

Update eslint-config-scratch to 3.1.0
Explicitly specify target for Webpack outputs
This commit is contained in:
Christopher Willis-Ford 2016-12-06 16:23:11 -08:00
parent 951b2b48a4
commit 5401c5e17f
2 changed files with 4 additions and 2 deletions

View file

@ -30,6 +30,7 @@ const base = {
module.exports = [
// Web-compatible
Object.assign({}, base, {
target: 'web',
entry: {
'scratch-storage': './src/index-web.js',
'scratch-storage.min': './src/index-web.js'
@ -40,8 +41,9 @@ module.exports = [
}
}),
// Webpack-compatible
// Node-compatible
Object.assign({}, base, {
target: 'node',
entry: {
'scratch-storage': './src/index.js'
},