Commit 5fd6c0f
committed
Convert hds-lib from CJS to ESM output
- Add "type": "module" to package.json, compile to ESM via nodenext
- Remove js/ from git (now built on install via prepare script)
- Add .js extensions to all relative imports (nodenext requirement)
- Fix pryv CJS interop: default import + plugin pattern with (pryv as any)
- Rename webpack.config.js → webpack.config.cjs
- Convert all test files to ESM (import/export)
- Add all missing test files to browser-tests.js
- Add charset UTF-8 meta to browser-tests.html
- 204 tests passing in both Node and browser1 parent 63ea047 commit 5fd6c0f
133 files changed
Lines changed: 208 additions & 5230 deletions
File tree
- js
- HDSModel
- appTemplates
- settings
- toolkit
- utils
- tests
- test-utils
- ts
- HDSModel
- appTemplates
- settings
- toolkit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments