mirror of
https://github.com/scratchfoundation/scratch-webpack-configuration.git
synced 2024-11-24 08:38:04 -05:00
fix: update the file match that webpack should process from node_modules
This commit is contained in:
parent
0a08a54da0
commit
89d4f7de4c
1 changed files with 4 additions and 4 deletions
|
@ -116,10 +116,10 @@ class ScratchWebpackConfigBuilder {
|
|||
{
|
||||
and: [/node_modules/],
|
||||
|
||||
// Scratch-paint points to its source (instead of a pre-built version)
|
||||
// for its browser target. So we need to process it (at the minimum to resolve
|
||||
// the JSX syntax).
|
||||
not: [/node_modules[\\/]scratch-paint\//]
|
||||
// Some scratch pakcages point to their source (as opposed to a pre-built version)
|
||||
// for their browser or webpack target. So we need to process them (at the minimum
|
||||
// to resolve the JSX syntax).
|
||||
not: [/node_modules[\\/]scratch-(paint|render|svg-renderer|vm)[\\/]src[\\/]/]
|
||||
}
|
||||
],
|
||||
options: {
|
||||
|
|
Loading…
Reference in a new issue