2、如果不需要子路径也被映射,记得加 $ 后缀,比如. // import 'foo/bar' 会被映射到import '/tmp/to/foo/bar'. {. alias: {. foo: '/tmp/to/foo',. }.
確定! 回上一頁