This commit is contained in:
caranicas
2022-09-15 13:44:08 -04:00
parent e0a139d083
commit 953773aaa8
16 changed files with 154 additions and 180 deletions

View File

@@ -1,7 +1,6 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
// https://vitejs.dev/config/
export default defineConfig({
@@ -9,12 +8,12 @@ export default defineConfig({
react(),
vanillaExtractPlugin({
// configuration
})
}),
],
server: {
port: 9001,
},
build: {
// make sure everythign is in the same directory
outDir: "../dist",
@@ -26,7 +25,6 @@ export default defineConfig({
chunkFileNames: `[name].js`,
assetFileNames: `[name].[ext]`,
},
},
},
});