diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-02-14 19:02:54 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-02-14 19:02:54 +0100 |
| commit | 1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 (patch) | |
| tree | 9b0a26b7d3efeecd5ec20a6e5624857624bc53a6 /src/webapp/vite.config.js | |
| parent | da4c22abbbf04566891976d01f5cf629857f8d0b (diff) | |
| download | bookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.tar.xz bookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.zip | |
feat: Experiment with tailwind
Diffstat (limited to 'src/webapp/vite.config.js')
| -rw-r--r-- | src/webapp/vite.config.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/webapp/vite.config.js b/src/webapp/vite.config.js index 8cbaae5..d8571ec 100644 --- a/src/webapp/vite.config.js +++ b/src/webapp/vite.config.js @@ -1,14 +1,13 @@ import {defineConfig} from "vite"; import {svelte} from "@sveltejs/vite-plugin-svelte"; import path from "path"; -import {optimizeCss} from "carbon-preprocess-svelte"; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [svelte(), process.env.NODE_ENV === "production" && optimizeCss()], + plugins: [svelte()], resolve: { alias: { - "@": path.resolve("/src"), + "@": "/src", }, }, }); |
