Skip to content

Conversation

@coolaj86
Copy link
Contributor

@coolaj86 coolaj86 commented Dec 17, 2024

Re: #27

  • nix "use strict"; (and .jshintrc)
  • swap require and module.exports for import and export default
  • swap __dirname for Path.dirname(import.meta.url.slice('file://'.length))
  • update jswt@2.x
  • jsconfig.json.module=nodenext, .moduleResolution=nodenext, .target=es2022
  • jsconfig.json.path
  • importmap example
  • package.json.type=module (and .jshintrc)
  • package.json.imports
  • package.json.exports
  • sort package.json
    • [name, description, version, main, files, type, imports, exports, scripts, whatever...]
  • double check against https://git.rootprojects.org/root/walk.js/issues/1

@coolaj86 coolaj86 force-pushed the esm branch 10 times, most recently from 637caab to 39617b6 Compare December 19, 2024 08:01
@coolaj86
Copy link
Contributor Author

Nailed it! (I think)

@coolaj86 coolaj86 merged commit 6c518fa into main Dec 19, 2024
2 checks passed
@coolaj86 coolaj86 deleted the esm branch December 19, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants