【发布时间】:2019-02-07 22:53:13
【问题描述】:
我试图弄清楚如何设置我的 next.config.js 文件以使用 sass 以及 exportPathMap,这就是我所拥有的:
module.exports = {
withSass() {},
exportPathMap: function() {
return {
'/': { page: '/' },
};
},
};
但是看起来 withSass() 没有运行,我需要用 withSass() 包装 exportPathMap 吗?
【问题讨论】: