Consider documenting required webpack configuration
See original GitHub issuelibphonenumbers-js needs:
-
the JSON loader:
{test: /\.json$/, loader: 'json'}
inconfig.module.rules
-
'.json'
inconfig.resolve.extensions
(perhaps it would be easier to just reference the data file with the full name .min.json)
Note – this is a webpack2 configuration.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Configuration - webpack
Out of the box, webpack won't require you to use a configuration file. However, it will assume the entry point of your project...
Read more >Getting Started With Webpack - Smashing Magazine
The webpack.config.js file doesn't exist yet though. So we need to create it in our application directory and paste the following code below ......
Read more >Bundling with webpack - Expo Documentation
Learn about different webpack bundler configurations that can be customized.
Read more >How to Create a Production-Ready Webpack 4 Config From ...
Typically, webpack is configured when a project is first set up, and small tweaks are then made to the config files as needed...
Read more >Adding a Custom webpack Config - Gatsby
If there's not yet one and your use case is a general one, consider contributing your plugin to the Gatsby Plugin Library so...
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 FreeTop 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
Top GitHub Comments
Hey Guys, I am trying to use libphonenumber-js in my angular application with webpack 2.2.1, I installed libphonenumber-js through npm and then imported “import { parser, format, asYouType } from ‘libphonenumber-js’;” I get an error message saying cannot find module ‘libphonenumber-js’ Any ideas? I am I missing any steps?
We’re in agreement 😃