Webpack 2?
See original GitHub issueDoes this loader support Webpack 2? If so, how would you specify the options with the new rules
API?
For example. I have this:
{
test: /globalize/,
loader: 'imports?define=>false',
},
I was thinking:
{
test: /globalize/,
use: [{ loader: 'imports-loader', options: { 'define=>false': '' } }],
}
But I’m unsure, and it seems odd…
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:10 (1 by maintainers)
Top Results From Across the Web
webpack
webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable...
Read more >A beginner's guide to Webpack 2 - Medium
A beginner's guide to Webpack 2 · Introduction · Setup and Installation · Installing Webpack · Webpack configuration file · using html-webpack-plugin to...
Read more >webpack2 - npm
Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand.
Read more >Webpack 2 Documentation - W3cubDocs
webpack is a tool to build JavaScript modules in your application. To start using webpack from its cli or api, follow the Installation...
Read more >THE WEBPACK CORE CONCEPTS | Webpack 2 Basics Tutorial
All about entry, output, module & loaders as well as plugins! Learn Webpack 2 - what it is, how it works and how...
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
I’m using this and it still working for me:
I’ve resolved my issue using a built-in option: