Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .babelrc

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:
default: 'master'

permissions:
id-token: write # Required for OIDC
contents: read

jobs:
release:
permissions:
contents: write
contents: write # Required to push dist files and create the GitHub release
id-token: write # Required for npm trusted publishing (OIDC)
runs-on: ubuntu-latest
steps:
- name: Checkout branch
Expand All @@ -28,9 +28,8 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22.x'
node-version: '24.x'
registry-url: 'https://registry.npmjs.org'
always-auth: true

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/visual-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24.x'

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,11 @@ and [OBJ](https://xeokit.github.io/xeokit-sdk/docs/class/src/plugins/OBJLoaderPl
</html>
````
---
## Deprecation Notice: ES5 and CJS Builds
## ES5 and CJS Builds Removed

Starting from **September 2026**, the ES5/UMD and CommonJS builds will no longer be included in the npm package. Maintaining ES5 compatibility requires extensive transpilation and polyfilling that is increasingly difficult to sustain as the codebase evolves. Going forward, only the ES module builds (`xeokit-sdk.es.js` and `xeokit-sdk.min.es.js`) will be provided, which are compatible with all modern browsers and bundlers.
The npm package no longer includes the ES5/UMD and CommonJS builds (`xeokit-sdk.es5.js`, `xeokit-sdk.min.es5.js`, `xeokit-sdk.cjs.js` and `xeokit-sdk.min.cjs.js`). ES5 compatibility needs a large amount of transpilation and polyfills, and this work became too difficult to maintain as the codebase changes. The package contains only the ES module builds, `xeokit-sdk.es.js` and `xeokit-sdk.min.es.js`. These builds work in all modern browsers and bundlers.

If your project loads xeokit SDK with `require()`, change it to an `import` statement.

---
## 📜 Licensing & Commercial Use
Expand Down
Loading
Loading