mirror of
https://github.com/scratchfoundation/scratch-storage.git
synced 2025-08-12 06:22:23 -04:00
Configuration updates
Update eslint-config-scratch to 3.1.0 Explicitly specify target for Webpack outputs
This commit is contained in:
parent
951b2b48a4
commit
5401c5e17f
2 changed files with 4 additions and 2 deletions
|
@ -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'
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue