@typed/vite-plugin 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed/vite-plugin",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -21,8 +21,8 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@typed/compiler": "0.0.4",
25
- "@typed/html": "3.0.2",
24
+ "@typed/compiler": "0.0.5",
25
+ "@typed/html": "3.0.3",
26
26
  "vavite": "^1.5.2"
27
27
  },
28
28
  "devDependencies": {
@@ -30,7 +30,7 @@
30
30
  "vite": "^4.0.4",
31
31
  "vite-tsconfig-paths": "^4.0.3"
32
32
  },
33
- "gitHead": "30124e294e3fe693bd451a859f3244b508cff7f4",
33
+ "gitHead": "20d0f2bc1bceba5137c4ba3bab3d1ff3d057fd1b",
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  }
@@ -152,7 +152,10 @@ function scanAndBuild(
152
152
  )
153
153
  const filePath = join(dir, `${environment}.ts`)
154
154
  const entryPoint = buildEntryPoint(scanned, project, environment, filePath)
155
- const output = ts.transpileModule(entryPoint.getFullText(), { compilerOptions: project.getCompilerOptions() })
155
+ const output = ts.transpileModule(entryPoint.getFullText(), {
156
+ fileName: entryPoint.getFilePath(),
157
+ compilerOptions: project.getCompilerOptions(),
158
+ })
156
159
 
157
160
  return {
158
161
  code: output.outputText,