Skip to content

Commit 16b0f8c

Browse files
committed
update build config
1 parent 2c80ef4 commit 16b0f8c

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

vite.config.html.js

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
const htmlPlugin = () => {
2-
return {
3-
name: 'html-transform',
4-
transformIndexHtml(html) {
5-
return html.replace(/="\//g, '="./')
6-
}
7-
}
8-
}
9-
101
export default {
11-
plugins: [
12-
htmlPlugin()
13-
],
2+
base: './',
143
define: {
154
BUILD: true
165
},

0 commit comments

Comments
 (0)