haxe-modular
haxe-modular copied to clipboard
Haxe-JS code splitting, NPM dependencies bundling, hot-reload
line 537 is the only line with changes.. not sure why it's highlighting the rest
Currently when besides static _libs.js_, I dynamically load another _libs2.js_ with npm libs,` require('some-lib-from-libs2') `doesn't find it because `require` function from index.js uses cashed __registry __ from _libs.js_.
I currently have a fork of [hxgenjs](https://github.com/kevinresol/hxgenjs) that integrates [hxdtsgen](https://github.com/nadako/hxtsdgen) (plan to submit a PR soon) to generate more complete d.ts files for each of the generated js classes. I'm...
I was going to report this on `haxe-loader`, but based on the stack trace, I think it occurs from `haxe-modular`: ```bash webpack: wait until bundle finished: / Parsed in: 60ms...
https://github.com/cherow/cherow Should support import().
This is mainly for electron. Because I would have to add `-lib hxnodejs` to enable some nodejs API while I still want to load bundles from remote asynchronously.
When targeting the browser (e.g. not node and not webpack), Modular will inject a `require` stub. This stub should not override a `require` function in scope. Issue appeared in https://github.com/HaxeFoundation/hxnodejs/issues/121...
This silent death [here is deadly](https://github.com/elsassph/haxe-modular/blob/7400b306989d84fbc2baa1a137b55b1ae4967306/src/Split.hx#L74), as ( at least in my environment ) it doesn't output anything from Sys.command, and there's no error message : Maybe something like :...
Currently Modular detects the entry class by looking for `SomeClass.main()` which is expected to be the last expression of the generated body - this isn't generated when building without main...
Currently if the main bundle is updated the page will not auto-reload and the app may disfunction if a reloaded module depends on the main module to be up to...