-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hi, I do not know, what I am doing wrong, but I can not replace ts file. I have following
...
module: {
rules: [
{ test: /\.tsx?$|\.jsx?$/, include: path.join(__dirname, '../src'), loader: 'ts-loader' },
{test: /\.environment\.ts$/, loader: 'file-replace-loader', options: {replacement: path.join(__dirname, '../src/scripts/environment.ios.ts')}},
]
},
...Environments are in src/scripts and I import environment.ts into my source files, but I need to replace it with webp[ack to use environment.ios.ts. webpack configurations are stored in webpack folder. Any idea? I am really confused.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed