Skip to content

Commit

Permalink
fix(builder-vite): 修复build时找不到入口js问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wanchun committed May 18, 2022
1 parent 40317ed commit d3ca470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fes-builder-vite/src/common/getConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function getInnerCommonConfig(api) {
createHtmlPlugin({
minify: true,
// 使用绝对地址在win下会提示没有权限
entry: `src/${api.paths.tmpDir}/fes.js`,
entry: `/src/${api.paths.tmpDir}/fes.js`,
template: 'index.html',
inject: {
data: {
Expand Down

0 comments on commit d3ca470

Please sign in to comment.