craco.config.js 329 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': '#03BB7A' },
  10. javascriptEnabled: true,
  11. },
  12. },
  13. },
  14. },
  15. ],
  16. };