fusion-cli
fusion-cli copied to clipboard
Migrated to https://github.com/fusionjs/fusionjs
Annotate dynamic imports with the translation keys the chunk contains Fixes issues with dynamically loading translations where routing isn't guaranteed to hit the origin the initial request was served from....
As part of the investigation into looking into [WPT-2994](https://jeng.uberinternal.com/browse/WPT-2994) this PR adds a new test to ensure that `imports`/`exports` that include Flow types are properly stripped and tree shaken.
Most requested features! (by me)
Fusion-cli correctly `.map` files for production builds, but uses `hidden-source-map` webpack config, which omits the `//# sourceMappingURL` comment at the end of the source files. From https://webpack.js.org/configuration/devtool/: > hidden-source-map -...
Couple things to note: * This needs to be set for `__webpack_public_path__` but not sure if it should always be set for "critical chunk" scripts. * I this fork deployed...
This PR contains the following updates: | Package | Type | Update | Change | References | |---|---|---|---|---| | @​babel/plugin-transform-flow-strip-types | dependencies | minor | [`7.2.3` -> `7.4.4`](https://diff.intrinsic.com/@babel/plugin-transform-flow-strip-types/7.2.3/7.4.4) | [source](https://togithub.com/babel/babel)...
fusion-cli npm modules includes all the files from source which makes it heavy. Hence included only required files.
This might be minimalistic change allowing to experiment or develop with typescript This is fork package covering those changes: https://www.npmjs.com/package/@mastermonar/fusion-cli
Webpack does not include polyfills for Buffer and Process unless it encounters their references. Explicitly defaulting them to `false` makes things difficult for users whose deps and subdeps depend on...
This is just to provide some more context for debugging.