Skip to content

Instantly share code, notes, and snippets.

@malithmcr
Created December 5, 2018 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malithmcr/1ebe8a33063f515020b5545ff74c353f to your computer and use it in GitHub Desktop.
Save malithmcr/1ebe8a33063f515020b5545ff74c353f to your computer and use it in GitHub Desktop.
const rewireLess = require('react-app-rewire-less');
module.exports = function override(config, env) {
config = rewireLess.withLoaderOptions({
javascriptEnabled: true,
})(config, env);
return config;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment