generated from alecodes/base-template
wip: change assets handling to vite-rs
This commit is contained in:
parent
6cf98d1f1a
commit
adbade7411
26 changed files with 761 additions and 112 deletions
13
vite.config.ts
Normal file
13
vite.config.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import {defineConfig} from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [],
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: [
|
||||
"frontend/assets/js/index.ts",
|
||||
"frontend/assets/css/style.scss"
|
||||
],
|
||||
},
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue