Skip to content

Commit 3f1c437

Browse files
committed
chore: update kkt config.
1 parent bafa5dd commit 3f1c437

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.kktrc.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export default (conf, env, options) => {
4141
},
4242
},
4343
};
44-
45-
conf.output = { ...conf.output, publicPath: './' }
44+
if (env === 'production') {
45+
conf.output = { ...conf.output, publicPath: './' }
46+
}
4647
return conf;
4748
}

0 commit comments

Comments
 (0)