| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Documented babel-preset-react-app absoluteRuntime option
|
Thanks for this @iddan. Out of interest, what was the motivation for this PR? Was it an issue you faced yourself? And if so, why did you need to modify this setting? Thanks! |
Sorry, something went wrong.
|
If I remember correctly I stumbled upon it while trying to integrate Storybook |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @iddan, two comments here - but looks good.
By the way, Storybook now works with create-react-app (including TypeScript and CSS modules (Sass included) without a custom config.
Sorry, something went wrong.
|
I think this should be merged! It turns out that this plugin was causing the contenthash for my JS bundles to change when building the exact same code between two different directories. And I didn't know about it because minification was stripping out the absolute paths from the final bundle. I'm not sure why absoluteRuntime needs to be true anyways, perhaps it should default to false instead? See: webpack/webpack#1155 and webpack/webpack#7179 |
Sorry, something went wrong.
Co-Authored-By: Brody McKee <mrmckeb@users.noreply.github.com>
|
Why was this not merged? |
Sorry, something went wrong.
|
Sorry this got missed. Thanks @iddan. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Documented babel-preset-react-app absoluteRuntime option