Oskari Noppa
Oskari Noppa
Hi! I just found out about this project, I happen to have a very similar one: [noppa/text-security](https://github.com/noppa/text-security). Anyways, just thought I should drop by and mention that we had an...
Their [HMR API](https://vitejs.dev/guide/api-hmr.html#hot-accept-deps-cb) looks very similar to Webpack's, so probably yes. I guess you'd need to look into Vite's [Plugin API](https://vitejs.dev/guide/api-plugin.html#plugins-config) and reimplement the Webpack [loader package](https://github.com/noppa/ng-hot-reload/blob/master/packages/loader/index.js) for it. It...
Probably yes. [The Webpack-specific code in this project](https://github.com/noppa/ng-hot-reload/blob/9c92fa03b0315f2631ba7e68023bca64f6b05172/packages/loader/index.js) is very small. Porting that for esbuild, maybe even using Go, would probably not take long if esbuild provides the necessary APIs....
What are you using to lazy load files? Webpack + [ocLazyLoad](https://github.com/ocombe/ocLazyLoad)? I can take a look at this but a repo with reproducible example would help a lot.
@Jopie64 That wouldn't short-circuit and end the pipeline on null, though, like (I'm assuming) the `?>` operator would. So for longer pipelines, you might need to wrap every step of...
@isiahmeadows Yeah, makes sense. To clarify, I didn't mean that my "alternative examples" were 100% equivalent to the `?>` version or the result of transpiling pipelines. We were talking about...
> optimizing away an inline lambda would have also been user observable due to error stacks. That's true for lambdas, but not for partially applied functions `1 |> add~(?, 2)`...
We have solved this for us by basically copy-pasting BannerPlugin to a new custom plugin and changing ```diff - stage: Compilation.PROCESS_ASSETS_STAGE_ADDITIONS + stage: Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE + 1 ``` At least for...
As a tip to @fengerzh and anyone who's blocked by this - I switched to [eslint-import-resolver-custom-alias](https://github.com/laysent/eslint-import-resolver-custom-alias), which works fine at least for my needs
@bsmith-cycorp I don't think that's it. Crazy dynamic require-calls like that are already disallowed because webpack needs to be able to statically resolve the path for it to do its...