Commit Graph

2627 Commits

Author SHA1 Message Date
Tobias Koppers b5db48291b add caching to FlagDependencyExportsPlugin 2018-12-31 12:29:01 +01:00
Tobias Koppers faefdc0bed expose exports in LibManifestPlugin
use StaticExportsDependency in DelegatedModule
2018-12-31 12:28:55 +01:00
Florent Cailhol 41948853a0 Use StaticExportsDependency to define WASM exports 2018-12-31 12:28:53 +01:00
Tobias Koppers 50d63602b5 fix stats assetsByChunkName
It's now always an array
2018-12-31 09:15:01 +01:00
Tobias Koppers 6dd1c9dbb7
Merge pull request #8575 from webpack/feature/split-chunks-single-file
add ability to load dependent chunks for non-web targets
2018-12-29 18:10:38 +01:00
Tobias Koppers b241549d31 Merge tag 'v4.28.3' into next
4.28.3
2018-12-29 12:59:56 +01:00
Tobias Koppers f446bf8a9b add ability to load dependent chunks for non-web targets
This allows to use `splitChunks` for initial chunks in i. e. node and webworker targets
2018-12-29 12:48:59 +01:00
Navi Marella 01281184d9 Modified Tests as suggested. 2018-12-28 16:21:24 -07:00
Tobias Koppers e4d8eaf225
Merge pull request #8572 from webpack/update_terser
Update terser to make it compatible with v5
2018-12-28 19:13:24 +01:00
Tobias Koppers 5306c92916
Merge pull request #8571 from webpack/fix/hash_deprecation_notices
Use fullhash instead of hash in tests
2018-12-28 16:01:17 +01:00
Florent Cailhol bc3c3d9dd5 Update terser to make it compatible with v5 2018-12-28 14:16:46 +01:00
Florent Cailhol e9cb04efca Use fullhash instead of hash 2018-12-28 14:09:35 +01:00
Tobias Koppers 3079886e47 filter entrypoints from namedChunkGroups in Stats only for printing 2018-12-28 12:57:38 +01:00
Tobias Koppers 2601febc6c
Merge pull request #8561 from jahredhope/multi-stats-no-options
Allow MultiStats to be called with no options
2018-12-28 12:32:01 +01:00
Florent Cailhol e85d9d8447 Add namedChunkGroups tests 2018-12-28 09:56:11 +01:00
Navi Marella eb960cc616 Fixed Profiling Output path for creating a folder, if it doesn't exists. 2018-12-27 16:02:43 -07:00
Jahred Hope 3a4f01b9de Allow MultiStats to be called with no options 2018-12-27 21:21:26 +11:00
Tobias Koppers ccad043bc2
Merge pull request #8547 from Connormiha/optimize-absolute-to-path
Optimize absoluteToRequest
2018-12-26 11:32:41 +01:00
Tobias Koppers 2143bd6519 Reduce number of allocations
Hoist RegExp
Avoid creating array object
Avoid join
Fast case for request without query
improve test cases
fixes a bug where query was omitted with multiple query separators
2018-12-26 11:13:44 +01:00
Tobias Koppers a49c417988
Merge pull request #8554 from webpack/bugfix/serialize-null-prototype
allow serializing of objects with null prototype
2018-12-25 22:53:45 +01:00
Tobias Koppers 44663f8c67 allow serializing of objects with null prototype 2018-12-25 22:08:35 +01:00
Tobias Koppers b3319a486d fix incorrect default for some options with all: false 2018-12-25 21:39:25 +01:00
Mihail Bodrov 09890ce3b4 Update test for windows path 2018-12-25 13:34:48 +03:00
Mihail Bodrov 972d9bf8cb Optimize absoluteToRequest 2018-12-23 15:30:28 +03:00
Tobias Koppers 026b7079a2
Merge pull request #8543 from webpack/bugfix/preset-in-schema
improvements to stats
2018-12-23 10:45:32 +01:00
Tobias Koppers 12436bf53e add chunkRelations to stats config 2018-12-23 10:04:23 +01:00
Tobias Koppers 7ffcc98487 Merge tag 'v4.28.2' into next
4.28.2
2018-12-23 09:58:52 +01:00
Tobias Koppers bc368c7611 fixes #8538 2018-12-22 13:39:26 +01:00
Tobias Koppers 2ae5268bfa
Merge pull request #8525 from webpack/cleanup/remove-compare
cleanup work on next
2018-12-20 20:23:52 +01:00
Tobias Koppers 14ec0aa4cf remove the static memory cache, leaving only the per compilation memory cache
Otherwise this leaks memory
2018-12-20 17:32:52 +01:00
Tobias Koppers 6c22ca2b96 fix issue when contextRegExp is undefined
fixes #8522
2018-12-20 16:52:44 +01:00
Tobias Koppers 1374757006 remove ModuleReason
remove HotUpdateChunkTemplate
move compareLocations into comparators
re-enable NodeSourcePlugin for `.mjs`
2018-12-20 16:38:26 +01:00
Tobias Koppers 089fe56884 fix merge issue 2018-12-20 09:22:51 +01:00
Tobias Koppers 1b402bcae1 Merge tag 'v4.28.0' into next
4.28.0
2018-12-19 14:05:17 +01:00
Tobias Koppers 573d2da1d9
Merge pull request #8511 from isiahmeadows/fix-erroneous-injection
Remove a broken hook
2018-12-19 09:19:50 +01:00
Isiah Meadows 6b54a46842 Fix failing test. 2018-12-18 16:55:56 -05:00
Isiah Meadows 14ef010886 Fix nits, block `require` to prevent false positive 2018-12-18 16:48:56 -05:00
Tobias Koppers 123b0a64e7 add plugin system for Stats presets, defaults, creation and printing 2018-12-18 22:07:14 +01:00
Ilya Kantor a9d465f183 IgnorePlugin: add context argument to checkResource, deprecate checkContext 2018-12-18 11:27:06 +03:00
Tobias Koppers 4e653e73c6
Merge pull request #8510 from guybedford/next-tlr
Allow top-level return in script parsing, PR for #8509
2018-12-18 09:25:25 +01:00
Isiah Meadows 31de55386a Add test 2018-12-18 02:44:15 -05:00
guybedford 00c95f36b0 allow top-level return 2018-12-16 21:27:04 +02:00
Tobias Koppers 6c00d3676e
Merge pull request #8484 from webpack/feature/split_chunks_max_size
Add maxAsyncSize and maxInitialSize for SplitChunks
2018-12-16 18:44:15 +01:00
Florent Cailhol 46140fbf72 Remove unneeded unit test 2018-12-12 10:51:19 +01:00
Florent Cailhol b916ff1491 Improve SplitChunksPlugin typings 2018-12-12 10:49:16 +01:00
Florent Cailhol 172ae10cb9 Add a test case for maxAsyncSize 2018-12-11 21:16:39 +01:00
Florent Cailhol cb22caa6d4 Rename commons-chunk-plugin test folder 2018-12-11 21:06:58 +01:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Tobias Koppers 0d2faa0d0a
Merge pull request #8460 from webpack/refactor/node_polyfills
Do not polyfill node bindings by default
2018-12-08 12:23:24 +01:00
Tobias Koppers 185aa2b973
Fix unittest 2018-12-07 20:16:39 +01:00