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

23 строки
435 B
JavaScript

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
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",
},
},
],
};