generated from alecodes/base-template
19 lines
400 B
TypeScript
19 lines
400 B
TypeScript
import {defineConfig} from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [],
|
|
server: {
|
|
port: 3001,
|
|
origin: 'http://localhost:3000',
|
|
cors: true,
|
|
},
|
|
build: {
|
|
manifest: true,
|
|
rollupOptions: {
|
|
input: [
|
|
"frontend/assets/js/index.ts",
|
|
"frontend/assets/css/style.scss"
|
|
],
|
|
},
|
|
}
|
|
});
|