asb_cloud_front/craco.config.js

26 lines
531 B
JavaScript
Raw Normal View History

const CracoLessPlugin = require('craco-less')
const CracoAlias = require('craco-alias')
2021-04-02 17:22:34 +05:00
module.exports = {
plugins: [
{
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
lessOptions: {
//modifyVars: { '@primary-color': '#E20000' },
javascriptEnabled: true,
},
},
},
}, {
plugin: CracoAlias,
options: {
source: 'tsconfig',
baseUrl: './src',
tsConfigPath: './tsconfig.paths.json'
}
}
2021-04-02 17:22:34 +05:00
],
}