File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://biomejs.dev/schemas/2.3.15/schema.json" ,
33 "files" : {
4- "includes" : [" src/**" ]
4+ "includes" : [" src/**" , " *.ts " ]
55 },
66 "formatter" : {
77 "indentStyle" : " space" ,
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "build" : " vite build" ,
77 "watch" : " vite build --watch" ,
8- "lint" : " biome check src/ && tsc --noEmit" ,
9- "format" : " biome format --write src/ "
8+ "lint" : " biome check && tsc --noEmit" ,
9+ "format" : " biome format --write"
1010 },
1111 "devDependencies" : {
1212 "@biomejs/biome" : " ^2.4.6" ,
Original file line number Diff line number Diff line change 1- import { writeFileSync } from "fs" ;
2- import { fileURLToPath } from "url " ;
3- import { dirname , resolve } from "path " ;
1+ import { writeFileSync } from "node: fs" ;
2+ import { dirname , resolve } from "node:path " ;
3+ import { fileURLToPath } from "node:url " ;
44import type { Plugin , UserConfig } from "vite" ;
55
66const isWatch = process . argv . includes ( "--watch" ) ;
@@ -19,7 +19,7 @@ function notifyAir(): Plugin {
1919export default {
2020 resolve : {
2121 alias : [
22- {
22+ {
2323 // svgmap doesn't export src/ in package.json "exports"; alias to bypass
2424 find : / ^ s v g m a p - v a r i a b l e s $ / ,
2525 replacement : resolve (
@@ -53,7 +53,7 @@ export default {
5353 } ,
5454 } ,
5555 } ,
56- plugins : isWatch ? [ notifyAir ( ) ] : [ ] ,
56+ plugins : isWatch ? [ notifyAir ( ) ] : [ ] ,
5757 publicDir : false ,
5858 build : {
5959 manifest : "manifest.json" ,
You can’t perform that action at this time.
0 commit comments