Loader versus Plugin?
See original GitHub issueIs the main use of the loader to be able to choose which files to obfuscate, whereas plugin obfuscates everything except explicitly excluded file names? Are there other uses? Or is there any way to exclude node_modules
with the plugin?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
WebPack Loader vs Plugin - DEV Community
Plugins work at bundle or chunk level and usually work at the end of the bundle generation process. · Plugins can deeply integrate...
Read more >Webpack Loaders and Plugins - Imran Sayed - Medium
In this blog, we will learn about what are loaders and plugins and how to use them with webpack. ... Loaders enable us...
Read more >Webpack explained simply – plugins, loaders and Babel
Work at the end or after of bundle generation; Plugins work at bundle level; Plugins have much more control over the bundle. Babel...
Read more >Learn Loaders and Plugins – Webpack 2 Deep Dive
Loaders handle file-specific processing like looking for all CSS files and running them through a SASS processor. Plugins are add-ons that carry out...
Read more >Loaders - webpack
Loaders are transformations that are applied to the source code of a module. They allow you to pre-process files as you import or...
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
The loader runs for each file individually, whereas the plugin runs over the complete bundle.
Obfuscator has an internal minimizer + simplifier (
compact: true
,simplify: true
andidentifierNamesGenerator: 'mangled'
options. It’s not as good asTerser
but it’s ok.