mirror of
https://github.com/scratchfoundation/scratch-webpack-configuration.git
synced 2025-02-17 02:50:17 -05:00
fix: explicitly add defaults to resolve.extensions
This commit is contained in:
parent
ca213ab5cb
commit
21ce9da9df
1 changed files with 4 additions and 3 deletions
|
@ -73,9 +73,10 @@ class ScratchWebpackConfigBuilder {
|
|||
'.jsx'
|
||||
] : []
|
||||
),
|
||||
// defaults ('.js', '.json', etc.)
|
||||
'...'],
|
||||
modules: [this._srcPath, 'node_modules']
|
||||
// webpack supports '...' to include defaults, but eslint does not
|
||||
'.js',
|
||||
'.json'
|
||||
]
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
|
|
Loading…
Reference in a new issue