Created
February 5, 2020 09:28
-
-
Save koderhun/269661aba68239cc229528c0f1e32b2e to your computer and use it in GitHub Desktop.
Less config for CRA and Ant Design
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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