Outdated webpack documentation
See original GitHub issueIt seems like the webpack documentation is currently out of date.
For one, it references a locale, which was available in pre v2 versions of date-fns
(the en
locale to be specific).
Furthermore, post v2 date-fns
locales now contain .d.ts
and .md
files, which make the documented ContextReplacementPlugin
spit out a nasty warning:
P.S. I’d like to end this issue with thanking all the contributors for maintaining this package, it has been really useful on the project I am working on. I hope it gets picked up by more developers!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:11 (4 by maintainers)
Top Results From Across the Web
To v5 from v4 - webpack
Upgrade webpack 4 and its plugins/loaders · Make sure your build has no errors or warnings · Make sure to use mode ·...
Read more >outdated-browser-webpack-plugin - npm
Start using outdated-browser-webpack-plugin in your project by running `npm i outdated-browser-webpack-plugin`. There are no other projects ...
Read more >webpack-clean-obsolete-chunks: Documentation | Openbase
webpack -clean-obsolete-chunks docs, getting started, code examples, API reference and more.
Read more >Bundling with webpack - Expo Documentation
If you need to edit the config the best way to do this is by running npx expo customize webpack.config.js . This will...
Read more >Webpack 5 Migration - Medium
Some of the loaders are deprecated in webpack-5 like url-loader, file-loader and raw-loader. Now we have to migrate on Asset Modules.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
not work for me. webpack5
params is wrong
webpack plugin link https://webpack.js.org/plugins/context-replacement-plugin/
@psimk 's solution fixed my issue with webpack throwing errors from the
.js.flow
&.md
files that were also getting included in the dynamic import of locales. The change included in his pull request would be an immensely helpful addition to the documentation.