Broadcast-Development-Kit-M.../craco.config.js

23 строки
435 B
JavaScript
Исходник Постоянная ссылка Обычный вид История

2021-07-02 01:11:09 +03:00
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
2021-06-26 01:03:21 +03:00
const CracoAlias = require("craco-alias");
const path = require("path");
module.exports = {
webpack: {
alias: {
"@": path.resolve(__dirname, 'src'),
}
},
plugins: [
{
plugin: CracoAlias,
options: {
source: "tsconfig",
baseUrl: "./src",
tsConfigPath: "./tsconfig.paths.json",
},
},
],
};