@dropecho/lib_example
v0.10.0
Published
An example haxelib that outputs to multiple targets.
Downloads
14
Readme
A haxe library template/example for multiple targets (npm/haxelib).
Use as template
Rename package in haxelib.json
Ensure all deps are included as needed (genes for esm, hxcs etc).
Rename package in package.json
Rename package in .releaserc.json
Update readme, license as required.
Replace src and tests.
Copy .gitignore
Defaults / settings
The JS ESM build also outputs .dts files for typing. For this to "look correct".
Output
The CS is built into dist/cs
The release is added to GH via .releaserc and named there.
The JS is built into dist/js/cjs and dist/js/esm.
With package exports, should work for both ESM and CJS imports.