This is a collection of packages that help turn a normal Babel JavaScript file that uses ES module import syntax into a .mjs file that imports exact URL.
- @make-mjs/cli: Command-line executable
- @make-mjs/main: APIs to compile a directory
- @make-mjs/code: APIs to compile a file
- @make-mjs/url: APIs to transform an import/export URL
- and more...
Go to the GitHub page
- Node.js ≥ 10.16.3
- Package Manager: pnpm
- Git
pnpm run buildpnpm run cleanpnpm testpnpm test -- --onlyChangedpnpm test path/to/test/file.test.tsor
pnpm test filename.test.tspnpm test -- -uThis starts a Node.js REPL where you can import every module inside packages/ folder.
pnpm run repl