-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comment the webpack configurations #366
Comments
@deontologician @flipace I could help with this. The build scripts may have changed, but a few months ago the client was built so that:
It seems that this Going further, Currently the situation is fuzzy as webpack bundles are made requireable in node using a combination of externals and ProvidePlugin, so for example, webpack can inject runtime checks to test whether it is used via a script tag or as a CommonJS module, and thus can import some dependency from a global variable, or from the bundle, or from filesystem. When used in combination with packagers, this can become very hacky and convoluted quickly, as can be seen from my experiments here, here and here. How would you like to proceed, what are the current use cases and obstacles? Some related issues are #600, #581, #571, #566, #509, #477, #420, #316, and #306. Do you want to keep the straightforward |
Hey plievone!
Yeah, we just need to maintain the "no webpack directives in require" invariant going forward (which we broke)
This one is tricky, since we're dependent on a particular version of RxJS. Ideally RxJS would be a peer dependency, and we'd use I think it'd be nice if we had different builds with different amounts of RxJS operators patched in.
Theoretically, we could serve all different builds in the dist directory, so the user could decide which onese they want. |
They're very dense, and hard to understand for people wanting to go in and make quick modifications. It would be helpful if they were well documented.
The text was updated successfully, but these errors were encountered: