File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 44 "description" : " Get a scoped ID for whatever file you're in. Zero client-side JS." ,
55 "type" : " module" ,
66 "exports" : {
7- "." : " ./dist /index.js " ,
7+ "." : " ./src /index.ts " ,
88 "./types" : " ./ambient.d.ts"
99 },
1010 "files" : [" src" , " ambient.d.ts" ],
1313 "url" : " https://github.com/bholmesdev/simple-stack.git" ,
1414 "directory" : " packages/scope"
1515 },
16- "scripts" : {
17- "dev" : " tsc --watch" ,
18- "build" : " tsc"
19- },
2016 "dependencies" : {
2117 "typescript" : " ^5.5.3" ,
2218 "vite" : " ^5.0.10"
Original file line number Diff line number Diff line change 11import { createHash } from "node:crypto" ;
22import type { AstroConfig } from "astro" ;
33import { normalizePath } from "vite" ;
4+ import "../ambient.d.ts" ;
45
56type VitePlugin = Required < AstroConfig [ "vite" ] > [ "plugins" ] [ number ] ;
67
7- import "../ambient.d.ts" ;
8-
98const virtualMod = "simple:scope" ;
109
1110export default function vitePluginSimpleScope ( ) : VitePlugin {
You can’t perform that action at this time.
0 commit comments