Fix Vite
parent
e05eaac821
commit
0888637c74
File diff suppressed because it is too large
Load Diff
|
@ -9,6 +9,7 @@
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"glob": "^10.3.10",
|
||||||
"vite": "^5.0.8"
|
"vite": "^5.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
module.exports = {
|
import path from "path";
|
||||||
root: 'src',
|
import glob from "glob";
|
||||||
build: {
|
|
||||||
outDir: '../build'
|
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