dewdrop-sdk 0.9.1 → 0.10.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/vite.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dewdrop-sdk",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "description": "The Vite plugin that builds a three.js game for Dewdrop.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/vite.js CHANGED
@@ -36,7 +36,7 @@ function shiftMap(json) {
36
36
  // The imports Dewdrop supplies, left in the output: three and the paths
37
37
  // into it, and the SDK by its name. Dewdrop supplies nothing else, a path
38
38
  // into the SDK included, so the build takes every other import in.
39
- export function isRuntimeModule(id) {
39
+ export function isSuppliedModule(id) {
40
40
  return id === 'three' || id.startsWith('three/') || id === 'dewdrop-sdk';
41
41
  }
42
42
 
@@ -67,7 +67,7 @@ export default function dew() {
67
67
  assetsDir: ASSETS_DIR,
68
68
  sourcemap: SOURCE_MAPS,
69
69
  rollupOptions: {
70
- external: isRuntimeModule,
70
+ external: isSuppliedModule,
71
71
  output: outputOptions(major),
72
72
  },
73
73
  },