-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hello everyone,
I am using Webpack 4.46.0 with "string-replace-loader" 2.3.0.
I am not able to replace any strings in my *.json files. I have various "app.json" files in different folders - therefore I want to replace some values inside.
Config:
module: {
rules: [
{
test: /app\.json$/,
loader: 'string-replace-loader',
options: {
multiple: [
{ search: './data_a', replace: '../../data_a', flags: 'g'},
{ search: './data_b', replace: '../../data_b', flags: 'g' },
],
},
},
Any ideas what I am doing wrong?
Metadata
Metadata
Assignees
Labels
No labels