adminFront/craco.config.js

22 lines
429 B
JavaScript
Raw Normal View History

const CracoAlias = require("craco-alias");
module.exports = {
2025-01-26 13:06:33 +00:00
eslint: {
enable: false
},
2024-05-21 07:41:31 +00:00
plugins: [
{
plugin: CracoAlias,
options: {
source: "tsconfig",
// baseUrl SHOULD be specified
// plugin does not take it from tsconfig
baseUrl: "./src",
// tsConfigPath should point to the file where "baseUrl" and "paths" are specified
tsConfigPath: "./tsconfig.extend.json",
},
},
],
};