path.resolve()方法将路径或者路径片段解析成绝对路径. 场景举例:webpack 中引入文件时配置别名. const path = require('path') resolve: { alias: ...
確定! 回上一頁