craco别名配置
craco版本:6.3.0
1.安装craco-alias
yarn add craco-alias
2.craco.config.js配置
const CracoAlias = require("craco-alias");
const WebpackBar = require("webpackbar");
const path = require("path");
module.exports = {
plugins: [
{
plugin: CracoAlias,
原创
2021-12-09 14:39:13 ·
1324 阅读 ·
0 评论