Skip to content

Commit

Permalink
chore: compile time experimentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenybai committed Dec 29, 2021
1 parent a162026 commit 15f840d
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@
"typescript": "^4.5.4",
"virtual-dom": "^2.1.1",
"vite": "^2.7.9",
"vite-plugin-compile-time": "^0.1.2",
"vite-plugin-legacy": "^2.1.0",
"vitest": "^0.0.118",
"vitest": "^0.0.119",
"zx": "^4.2.0"
}
}
26 changes: 22 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite';
import { resolve } from 'path';
import { defineConfig } from 'vite';
import compileTime from 'vite-plugin-compile-time';

export default defineConfig({
root: 'dev',
Expand All @@ -17,4 +18,5 @@ export default defineConfig({
watch: false,
environment: 'jsdom',
},
plugins: [compileTime()],
});

0 comments on commit 15f840d

Please sign in to comment.