authelia/web/.cracorc.js

19 lines
441 B
JavaScript
Raw Normal View History

const isCoverage = process.env.COVERAGE === 'true'
const babelPlugins = isCoverage ? [ "babel-plugin-istanbul" ] : []
module.exports = {
babel: {
plugins: babelPlugins,
},
plugins: [
{
plugin: require("craco-alias"),
options: {
source: "tsconfig",
baseUrl: "./src",
tsConfigPath: "./tsconfig.aliases.json",
}
}
]
};