Skip to content

Commit

Permalink
fix: 修正 file-loader 处理本地图片等静态文件时路径显示为 [object Module] 的问题(ksky521#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
gflizhiwen committed Jun 5, 2020
1 parent 71a899e commit 1a15c37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nodeppt-serve/config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module.exports = (api, options) => {
fallback: {
loader: 'file-loader',
options: {
name: genAssetSubPath(dir)
name: genAssetSubPath(dir),
esModule: false
}
}
};
Expand Down

0 comments on commit 1a15c37

Please sign in to comment.