craco.config.js 420 B

1234567891011121314151617
  1. const CracoLessPlugin = require('craco-less');
  2. module.exports = {
  3. plugins: [
  4. {
  5. plugin: CracoLessPlugin,
  6. options: {
  7. lessLoaderOptions: {
  8. lessOptions: {
  9. modifyVars: { '@primary-color': '#50abfa' },
  10. javascriptEnabled: true,
  11. },
  12. },
  13. },
  14. },
  15. ],
  16. };