Fix Vite
parent
e05eaac821
commit
0888637c74
File diff suppressed because it is too large
Load Diff
|
@ -9,6 +9,7 @@
|
|||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"glob": "^10.3.10",
|
||||
"vite": "^5.0.8"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
module.exports = {
|
||||
root: 'src',
|
||||
build: {
|
||||
outDir: '../build'
|
||||
}
|
||||
}
|
||||
import path from "path";
|
||||
import glob from "glob";
|
||||
|
||||
export default {
|
||||
root: path.join(__dirname, "src"),
|
||||
build: {
|
||||
outDir: path.join(__dirname, "dist"),
|
||||
rollupOptions: {
|
||||
input: glob.sync(path.resolve(__dirname, "src", "**/*.html"))
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue