2020-07-10 09:24:06 +00:00
|
|
|
const CracoAlias = require("craco-alias");
|
2020-06-02 07:54:31 +00:00
|
|
|
|
2019-10-29 12:02:58 +00:00
|
|
|
module.exports = {
|
2020-06-02 07:54:31 +00:00
|
|
|
plugins: [
|
2020-07-10 09:24:06 +00:00
|
|
|
{
|
|
|
|
|
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.path.json",
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-06-02 07:54:31 +00:00
|
|
|
{
|
|
|
|
|
plugin: "prismjs",
|
|
|
|
|
options: {
|
|
|
|
|
languages: ["javascript"],
|
|
|
|
|
plugins: [],
|
|
|
|
|
theme: "twilight",
|
|
|
|
|
css: false,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
2019-10-29 12:02:58 +00:00
|
|
|
};
|