fix(builder-vite): 修复build时找不到入口js问题

This commit is contained in:
wanchun 2022-05-18 12:46:14 +08:00
parent 40317ed372
commit d3ca470ff2

View File

@ -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: {