We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I am trying out ifdef-loader with react-app-rewired.
Below are the contents of my config-overrides.js file `
module.exports = function override(config, env) { console.log('override!');
const opts = { PRODUCTION:false, DEBUG: true, "ifdef-verbose": true }; let loaders = config.module.rules[2].oneOf; loaders.splice(loaders.length - 1, 0, { test: /\.js$/, use: [ { loader: "echo-loader?msg=dump" }, { loader: "ifdef-loader", options: opts } ] }); return config;
};`
When I dump the files being processed by echo-loader I see my files are not getting processed
dump.txt
Any clues on how I can get it working with react-app-rewired ?
Cheers Ajay
The text was updated successfully, but these errors were encountered:
in dump.txt I don't see any // #ifdef directives that have to be processed with ifdef-loader
// #ifdef
ifdef-loader
Sorry, something went wrong.
No branches or pull requests
Hi,
I am trying out ifdef-loader with react-app-rewired.
Below are the contents of my config-overrides.js file
`
module.exports = function override(config, env) {
console.log('override!');
};`
When I dump the files being processed by echo-loader I see my files are not getting processed
dump.txt
Any clues on how I can get it working with react-app-rewired ?
Cheers
Ajay
The text was updated successfully, but these errors were encountered: