mirror of
https://github.com/scratchfoundation/scratch-webpack-configuration.git
synced 2024-11-28 02:25:44 -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/],
|
and: [/node_modules/],
|
||||||
|
|
||||||
// Scratch-paint points to its source (instead of a pre-built version)
|
// Some scratch pakcages point to their source (as opposed to a pre-built version)
|
||||||
// for its browser target. So we need to process it (at the minimum to resolve
|
// for their browser or webpack target. So we need to process them (at the minimum
|
||||||
// the JSX syntax).
|
// to resolve the JSX syntax).
|
||||||
not: [/node_modules[\\/]scratch-paint\//]
|
not: [/node_modules[\\/]scratch-(paint|render|svg-renderer|vm)[\\/]src[\\/]/]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
options: {
|
options: {
|
||||||
|
|
Loading…
Reference in a new issue