babel-plugin-reactylon 1.3.0 → 1.3.2

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/build/index.js +1 -3
  2. package/package.json +5 -5
package/build/index.js CHANGED
@@ -175,13 +175,12 @@ export default declare((api) => {
175
175
  }
176
176
  },
177
177
  Program: {
178
- enter(path) {
178
+ enter() {
179
179
  var _a, _b;
180
180
  const filename = ((_b = (_a = this.file) === null || _a === void 0 ? void 0 : _a.opts) === null || _b === void 0 ? void 0 : _b.filename) || '';
181
181
  if (filename.includes('node_modules')) {
182
182
  //console.log(this.file?.opts?.filename);
183
183
  shouldSkipFile = true;
184
- path.stop();
185
184
  return;
186
185
  }
187
186
  shouldSkipFile = false;
@@ -200,7 +199,6 @@ export default declare((api) => {
200
199
  // exclude assets folder containing .wasm and relative .js files
201
200
  if (typeof sideEffectPath === 'string' && !sideEffectPath.startsWith('@babylonjs/core/assets/')) {
202
201
  fileSideEffects.add(sideEffectPath);
203
- // callPath.stop();
204
202
  }
205
203
  }
206
204
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-plugin-reactylon",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Babel plugin to enable tree-shaking of Babylon.js classes within a Reactylon application.",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -14,8 +14,8 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@babel/core": "^7.26.10",
17
- "@babylonjs/core": "^8.0.0",
18
- "@babylonjs/gui": "^8.0.0",
17
+ "@babylonjs/core": "^9",
18
+ "@babylonjs/gui": "^9",
19
19
  "@types/babel__helper-plugin-utils": "^7.10.3",
20
20
  "@types/jest": "^29.5.14",
21
21
  "@types/node": "^20.1.7",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@babel/core": "^7.26.10",
28
- "@babylonjs/core": "^7.0.0 || ^8.0.0",
29
- "@babylonjs/gui": "^7.0.0 || ^8.0.0",
28
+ "@babylonjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0",
29
+ "@babylonjs/gui": "^7.0.0 || ^8.0.0 || ^9.0.0",
30
30
  "reactylon": "^3.0.0"
31
31
  },
32
32
  "keywords": [