daurnimator
daurnimator
> But since the read access is guarded by `typeof __FENGARICONF__ !== "undefined"` this will not result in an error. When webpack does it's thing, I think it only replaces...
We can go arg-by-arg, browser-by-browser. We'll figure it out as we go.
Good question (it's why I haven't done it yet :P ). Maybe to fengari.io repo?
How do you support conditional imports with es6 modules? > My personal desire is to make it easier to consume using rollup and only include functions my code uses. Hrm,...
I don't think we'll do this until node adds support for the `import` statement.
I had a look at this today using [rollup](https://rollupjs.org). It seemed like an improvement, but the tooling doesn't seem to be there 100% yet. e.g. I'm not sure how to...
Webpack 4.0 is getting proper ES6 support; so that might make this finally possible. Relevant announcement: https://medium.com/webpack/webpack-4-beta-try-it-today-6b1d27d7d7e2
> not sure if it fits here - but will this allow letting babel transpile this module into ES5 too? fengari can already be transpiled. Infact fengari-web is distributed in...
`luaZ_fill` inside of lzio.js should use `from_userstring`
I had something more like this in mind: ```js const luaZ_fill = function(z) { let buff = z.reader(z.L, z.data); if (buff === null) return EOZ; buff = from_userstring(buff); let size...