forked from ddrilling/asb_cloud_front
26 lines
531 B
JavaScript
26 lines
531 B
JavaScript
const CracoLessPlugin = require('craco-less')
|
|
const CracoAlias = require('craco-alias')
|
|
|
|
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'
|
|
}
|
|
}
|
|
],
|
|
}
|