@celox-sim/vite-plugin 0.1.14 → 0.1.16

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/dist/index.js CHANGED
@@ -161,7 +161,7 @@ function generateEsmExport(mod, projectPath, defaultOptions) {
161
161
  return `export const ${mod.moduleName} = {
162
162
  __celox_module: true,
163
163
  name: ${JSON.stringify(mod.moduleName)},
164
- source: "",
164
+ sources: [],
165
165
  projectPath: ${JSON.stringify(projectPath)},
166
166
  ports: ${portsJson},
167
167
  events: ${eventsJson},${defaultOptsLine}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celox-sim/vite-plugin",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "Vite plugin for importing .veryl files as typed ModuleDefinition objects",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -33,7 +33,7 @@
33
33
  "vite": ">=5.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "@celox-sim/celox": "0.1.14"
36
+ "@celox-sim/celox": "0.1.16"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^25.3.2",
package/src/index.ts CHANGED
@@ -190,7 +190,7 @@ function generateEsmExport(
190
190
  return `export const ${mod.moduleName} = {
191
191
  __celox_module: true,
192
192
  name: ${JSON.stringify(mod.moduleName)},
193
- source: "",
193
+ sources: [],
194
194
  projectPath: ${JSON.stringify(projectPath)},
195
195
  ports: ${portsJson},
196
196
  events: ${eventsJson},${defaultOptsLine}