Commit Graph

5173 Commits

Author SHA1 Message Date
Florent Cailhol 9669c9e013 Use Parser#hooks instead of Tapable#plugin 2017-12-21 09:08:10 +01:00
Tobias Koppers 84a3b2cd17
Merge pull request #6146 from EugeneHlushko/feature-xxhashjs
Feature: Non-crypto hashing algorithm and opt-in through config
2017-12-21 08:48:52 +01:00
Tobias Koppers 20678c6611
Merge pull request #6150 from webpack/bugfix/concat-unused-modules
fix unnecessary module concatenation
2017-12-21 08:46:36 +01:00
Tobias Koppers f66fa27114
Merge pull request #6161 from ooflorent/remove_tapable_apply
Replace deprecated Tapable#apply by Plugin#apply
2017-12-21 08:46:07 +01:00
Tobias Koppers ac84933673
Merge pull request #6166 from ooflorent/test_hooks
Use hooks instead of plugin() in test cases
2017-12-21 08:42:22 +01:00
Florent Cailhol e58e1f9261 Use hooks in test cases 2017-12-21 07:17:27 +01:00
Tobias Koppers 878f2882ad update test cases for changed order 2017-12-20 20:41:22 +01:00
Tobias Koppers 2a1546d355 fix reversed order in OccurenceOrderPlugin
try to keep original order
fallback order by name if index order fails
2017-12-20 20:35:16 +01:00
Tobias Koppers ba00d7495a fix unnecessary module concatenation
allow to display nested modules in stats
2017-12-20 20:35:16 +01:00
Tobias Koppers 7b7b2cd978
Merge pull request #6156 from webpack/deps/upgrade
Upgrade dependencies
2017-12-20 15:45:56 +01:00
EugeneHlushko 62395cf6dd Feature: Non-crypto hashing algorithm opt-in through config: make linters happy again 2017-12-20 14:30:36 +02:00
Florent Cailhol 7dd41b55c6 Replace deprecated Tapable#apply by Plugin#apply 2017-12-20 11:53:56 +01:00
EugeneHlushko 26257bc0f5 Feature: Non-crypto hashing algorithm opt-in through config: use non-native hash example 2017-12-20 12:29:00 +02:00
Tobias Koppers e72c00f8c0
Merge pull request #6152 from ooflorent/globals_b64
Mark Base64 as global in mocha
2017-12-20 11:23:21 +01:00
Tobias Koppers b34f73c842 update test case 2017-12-20 11:03:02 +01:00
Tobias Koppers 069789a2e7
Merge pull request #6155 from EugeneHlushko/feature/disallow-load-initial-on-demand
Feature: Disallow to load initial chunk on demand via throwing an error
2017-12-20 10:49:20 +01:00
Tobias Koppers fd2607fd17
Merge pull request #6158 from codyogden/feature-extractTrackingSet
Extract TrackingSet class from the Parser.js module.
2017-12-20 10:48:55 +01:00
Cody Ogden f5b57f4764 Extract TrackingSet class from the Parser.js module.
@TheLarkInn suggested this class be extracted from this file during the live stream tonight. A similar class was removed and placed in the  directory.
- Created
2017-12-20 01:37:49 -06:00
EugeneHlushko 307566a7a1 Feature: Add an option to provide output.hashFunction as a function 2017-12-19 19:53:08 +02:00
EugeneHlushko cff7e377ec Feature: Disallow to load initial chunk on demand..: rename class to Error 2017-12-19 17:43:02 +02:00
EugeneHlushko 370eb38e32 Feature: Disallow to load initial chunk on demand..: rename class to Error 2017-12-19 17:41:56 +02:00
Tobias Koppers 95272042e4 Upgrade dependencies 2017-12-19 16:33:49 +01:00
EugeneHlushko 3096317a4b Feature: Disallow to load initial chunk on demand via throwing an error 2017-12-19 17:12:48 +02:00
Florent Cailhol 5636a5ecf8 Mark Base64 as global in mocha
Without this, some tests ran with --check-leaks fail.
This global binding is provided by js-base64.
2017-12-19 15:52:38 +01:00
Tobias Koppers 5edc7efb1a
Merge pull request #6143 from ooflorent/module_id_bailout
Bail out concatenation if module uses module.id or module.loaded
2017-12-19 13:06:30 +01:00
Florent Cailhol fb2fe2688f Add ModuleConcatenation bailout tests 2017-12-19 10:49:05 +01:00
Florent Cailhol 31e0c406b7 Bail out concatenation if module uses module.id or module.loaded 2017-12-19 10:08:43 +01:00
Tobias Koppers 97880f1a30
Merge pull request #6151 from webpack/ci/stability
Avoid minimizing target test cases
2017-12-19 08:56:05 +01:00
Tobias Koppers 4a840fba11 Avoid minimizing target test cases 2017-12-18 23:28:06 +01:00
Tobias Koppers a1f889059d
Merge pull request #6136 from ooflorent/template_hooks
Use template hooks in plugins
2017-12-18 17:17:21 +01:00
Tobias Koppers 2bc53db967
Merge pull request #6137 from ooflorent/parser_helpers
Update Parser helpers to be compatible with hooks
2017-12-18 17:16:09 +01:00
Tobias Koppers 14f281838d
Merge pull request #6145 from d3viant0ne/d3viant0ne/perf/uglifyPerf
perf: Enables uglify cache in prod mode
2017-12-18 16:46:44 +01:00
Joshua Wiens b319ea6c1c refactor: Enables uglify thread pool by default 2017-12-18 00:49:48 -06:00
Joshua Wiens bf93a87a1d perf: Enables uglify cache in prod mode 2017-12-17 08:48:01 -06:00
Sean Larkin 0968e1ca77
Merge pull request #6141 from statianzo/mode-description
Add description for `mode` option. Fixes #6135
2017-12-15 23:18:55 -08:00
Jason Staten af0733fed6 Add description for `mode` option. Fixes #6135
Changed from being a copy of `amd` description.
2017-12-15 14:25:21 -07:00
Florent Cailhol c8e60b4322 Update Parser helpers to be compatible with hooks 2017-12-15 17:08:49 +01:00
Florent Cailhol 3be3878d56 Use templates' Tapable#hooks 2017-12-15 15:16:57 +01:00
Tobias Koppers 27d60f7dd6
Merge pull request #6126 from ooflorent/remove_plugin_calls
Remove more plugin calls
2017-12-15 13:42:38 +01:00
Tobias Koppers 5c3cb43441
Merge pull request #6134 from log2-hwan/chunk-entrypoint-compat-fix
Fix Chunk.prototype.entrypoints setter
2017-12-15 13:41:45 +01:00
Jeonghwan Lee 6dd4de57dc Fix Chunk.prototype.entrypoints setter 2017-12-15 11:26:38 +09:00
Tobias Koppers 9a33e031d1 4.0.0-alpha.1 2017-12-14 16:08:09 +01:00
Florent Cailhol 1dabdb90d2 Remove ContextReplacementPlugin unit tests 2017-12-14 15:47:20 +01:00
Tobias Koppers fe08d6a3d5 Merge branch 'master' into next 2017-12-14 15:36:04 +01:00
Tobias Koppers e3f4fcd3bd
Merge pull request #6129 from webpack/feature/side-effects-rules
allow to set sideEffects from rules
2017-12-14 15:32:00 +01:00
Tobias Koppers 50da3f0fcf
Merge pull request #6130 from webpack/bugfix/mjs-extensions
remove no extensions "feature" from mjs
2017-12-14 15:13:59 +01:00
Florent Cailhol d16ccc9c6f Use tap() instead of tapAsync() when possible 2017-12-14 15:11:56 +01:00
Florent Cailhol 08ddad2e10 Replace NormalModuleFactory#plugin() calls 2017-12-14 14:42:49 +01:00
Florent Cailhol f737b26260 Remove some plugin calls 2017-12-14 14:42:49 +01:00
Tobias Koppers 8bc82da2ca
Merge pull request #6128 from webpack/bugfix/wasm-esm-and-exports
WASM bugfixes/improvements (fix weird extra default)
2017-12-14 13:52:46 +01:00