/* craco.config.js */
const CracoLessPlugin = require('craco-less');

module.exports = {
  resolve: {
    extensions: ['.js', '.jsx']
  },
  plugins: [
    {
      plugin: CracoLessPlugin,
      options: {
        lessLoaderOptions: {
          lessOptions: {
            modifyVars: { 
                //'@primary-color': '#EDA57A',
                //'@text-color': 'rgba(250, 0, 0, 0.65)',
                //'@layout-header-background': '#0E3997',
            },
            javascriptEnabled: true,
          },
        },
      },
    },
  ],
};