Sean Larkin
c3ebef7f25
Merge branch 'master' into feature/type-compiler-compilation-save
2018-06-21 11:07:33 +03:00
Tobias Koppers
53103a9690
Cleanup error location and origin information
2018-06-04 10:35:46 +02:00
Sean Larkin
1bae93852a
Merge branch 'master' into feature/type-compiler-compilation-save
2018-05-30 19:35:36 -07:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
Tobias Koppers
342c3c6fec
Merge branch 'master' into feature/type-compiler-compilation-save
...
# Conflicts:
# yarn.lock
2018-05-24 18:56:04 +02:00
Tobias Koppers
19015b698c
fix problems with circular unneeded chunks
...
fixes #7363
fixes #7239
fixes #6587
2018-05-22 15:30:32 +02:00
Tobias Koppers
3072378892
bugfixes and corrections
2018-05-15 15:04:40 +02:00
Sean Larkin
f0ed7b63e8
chore(types): remove dup types, clean up some itesm
2018-05-15 15:04:39 +02:00
Sean Larkin
39195ff62f
chore(types): make loose interface for removing reasons ties in Compilation
2018-05-15 15:04:39 +02:00
Sean Larkin
761d73b4e7
chore(types): add Compiler and Compilation type support
2018-05-15 15:04:38 +02:00
Tobias Koppers
5c8a0d23ba
Merge branch 'master' into next
...
# Conflicts:
# test/statsCases/aggressive-splitting-entry/expected.txt
# test/statsCases/aggressive-splitting-on-demand/expected.txt
# test/statsCases/chunk-module-id-range/expected.txt
# test/statsCases/chunks-development/expected.txt
# test/statsCases/chunks/expected.txt
# test/statsCases/color-disabled/expected.txt
# test/statsCases/color-enabled-custom/expected.txt
# test/statsCases/color-enabled/expected.txt
# test/statsCases/commons-chunk-min-size-0/expected.txt
# test/statsCases/commons-chunk-min-size-Infinity/expected.txt
# test/statsCases/commons-plugin-issue-4980/expected.txt
# test/statsCases/define-plugin/expected.txt
# test/statsCases/exclude-with-loader/expected.txt
# test/statsCases/external/expected.txt
# test/statsCases/filter-warnings/expected.txt
# test/statsCases/import-context-filter/expected.txt
# test/statsCases/import-weak/expected.txt
# test/statsCases/limit-chunk-count-plugin/expected.txt
# test/statsCases/max-modules-default/expected.txt
# test/statsCases/max-modules/expected.txt
# test/statsCases/module-assets/expected.txt
# test/statsCases/named-chunks-plugin-async/expected.txt
# test/statsCases/named-chunks-plugin/expected.txt
# test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt
# test/statsCases/optimize-chunks/expected.txt
# test/statsCases/performance-different-mode-and-target/expected.txt
# test/statsCases/preset-detailed/expected.txt
# test/statsCases/preset-normal/expected.txt
# test/statsCases/preset-verbose/expected.txt
# test/statsCases/resolve-plugin-context/expected.txt
# test/statsCases/reverse-sort-modules/expected.txt
# test/statsCases/scope-hoisting-bailouts/expected.txt
# test/statsCases/scope-hoisting-multi/expected.txt
# test/statsCases/simple-more-info/expected.txt
# test/statsCases/simple/expected.txt
# test/statsCases/tree-shaking/expected.txt
# test/statsCases/warnings-uglifyjs/expected.txt
2018-05-01 16:49:08 +02:00
Tobias Koppers
1c0d4f77b0
improve Compilation.processDependenciesBlocksForChunkGroups performance
...
prepare references for modules
2018-05-01 10:54:00 +02:00
Tobias Koppers
82a71be1dc
Cleanup, refactoring, types
2018-04-27 18:53:07 +02:00
Tobias Koppers
9cb1a66317
add support for link preload/prefetch
...
`import(/* webpackPrefetchPriority: 10 */ "...")`
`import(/* webpackPreloadPriority: 10 */ "...")`
2018-04-16 11:29:25 +02:00
Mohsen Azimi
589f40b26a
Add missing class member initializations found by TypeScript
2018-04-11 16:48:44 +02:00
Florent Cailhol
fe73712e5b
Remove unecessary _this binding
2018-04-10 23:04:20 +02:00
Tobias Koppers
8de560552c
sort child compilations for consitent hash
...
fixes webpack-contrib/mini-css-extract-plugin#75
2018-04-03 17:36:12 +02:00
Tobias Koppers
8d8da4cdff
Merge branch 'master' into bump_prettier
2018-03-29 11:48:02 +02:00
Tobias Koppers
d4f3c775d5
Merge pull request #6883 from mohsen1/remove-dead-code
...
Initialize fileTimestamps and contextTimestamps in Compilation
2018-03-29 10:52:06 +02:00
Tobias Koppers
4b6ee7356d
Merge pull request #6894 from webpack/bugfix/css-stuff
...
fixes for mini-css-extract-plugin
2018-03-29 10:50:38 +02:00
Mohsen Azimi
7a72ee92c0
Merge branch 'master' of github.com:webpack/webpack into remove-dead-code
...
# Conflicts:
# lib/Compilation.js
2018-03-28 21:25:46 -07:00
Mohsen Azimi
77535dde7c
Initialize fileTimestamps and contextTimestamps in Compilation
2018-03-28 10:10:28 -07:00
Mohsen Azimi
9728f2d2e0
Revert "Remove dead code in Compilation.js"
...
This reverts commit 847bfa4c63
.
2018-03-28 10:08:25 -07:00
Mohsen Azimi
bc76fee70b
Initialize compilationDependencies in Compilation as undefined
2018-03-28 10:05:29 -07:00
Tobias Koppers
93a5bf567f
fixes for mini-css-extract-plugin
2018-03-28 16:19:15 +02:00
Mohsen Azimi
d2dbed5dda
Update Compilation.js
2018-03-27 22:41:45 -07:00
Mohsen Azimi
864a15977f
Remove extra arguments passed to SortableSet initializing fileDependencies
2018-03-27 22:36:45 -07:00
Mohsen Azimi
847bfa4c63
Remove dead code in Compilation.js
2018-03-27 22:23:47 -07:00
Florent Cailhol
f1092ad516
Update prettier toolchain
2018-03-26 16:56:10 +02:00
Tobias Koppers
296542ed79
add [contenthash] support
2018-03-24 12:08:36 +01:00
Florent Cailhol
3983803d30
Destructure 'require' to improve readability
2018-03-22 12:05:58 +01:00
Josh Soref
96ebb27964
spelling: connect
2018-02-26 02:27:17 +00:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Tobias Koppers
e52f323750
optimize performance of assignDepth
2018-02-24 14:38:16 +01:00
Suguru Motegi
864e563173
replace Async with Neo-Async
2018-02-11 14:31:08 -08:00
Tobias Koppers
d6816afddf
Merge pull request #6355 from webpack/for_of_loops
...
Use for-of loops instead of forEach
2018-01-24 10:35:58 +01:00
Tobias Koppers
7a1b357aad
Merge branch 'next' into for_of_loops
2018-01-24 09:01:31 +01:00
Tobias Koppers
ad75e44d02
Merge branch 'next' into remove_v3_deprecated
2018-01-24 08:45:13 +01:00
Florent Cailhol
7b8fa112e0
Remove v3 deprecated APIs
2018-01-23 23:25:01 +01:00
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +01:00
Florent Cailhol
77bb4c0055
Deprecate forEach* and map* methods
2018-01-23 22:19:59 +01:00
Florent Cailhol
6192e5b413
Use hooks instead of applyPlugins
2018-01-22 15:23:52 +01:00
Tobias Koppers
18ae73dad4
Refactor chunk graph
...
Chunks are now always in ChunkGroups
ChunkGroups have parents and children, Chunks no longer have this
AsyncDependenciesBlocks point to a ChunkGroup instead of a list of chunks
Entrypoint is now a ChunkGroup (extends from it)
move stuff graph modification methods into GraphHelpers
Change chunk id recording to source-based
Chunks have parents, siblings and children in Stats
rename AutomaticCommonsChunksPlugin to SplitChunksPlugin
add request property to origin (ChunkGroup)
remove moveToParent from AggressiveMergingPlugin
fix issues with AggressiveSplittingPlugin
remove CommonsChunkPlugin
add optimization.runtimeChunk (RuntimeChunkPlugin)
fix a filename bug for initial chunks
remove extract-text-webpack-plugin from test suite
add DebugHash to help debugging hash issues
fix issues with entry modules in different chunk as runtime
redo optimization.splitChunks options
Compilation.entrypoints is now a Map
Compilation.chunkGroups has been added
remove some unittests
update examples
update tests with CommonsChunkPlugin
2018-01-19 19:21:30 +01:00
Florent Cailhol
1590751da2
Replace dictionaries by Map or Set
2018-01-06 09:45:57 +01:00
Tobias Koppers
1886b7a5cb
Merge branch 'master' into next
...
# Conflicts:
# bin/webpack.js
# lib/Compilation.js
# yarn.lock
2017-12-29 11:17:10 +01:00
Maximilien Garenne
c4fa27b451
fix lint errors
2017-12-28 14:38:03 +01:00
Maximilien Garenne
71d12979e4
Refresh code of Compilation.js
...
I replaced some let by const, removed some unecessary this bindings, rewrote the part with self by this with paying attention to keep the binding to this.
2017-12-28 11:39:29 +01:00
Sean Larkin
30ac70083d
Merge pull request #6101 from webpack/feature/tapable-upgrade-json-export-main-template-plugin
...
feat(tapable): upgrade other template plugins
2017-12-22 21:38:05 -08: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
EugeneHlushko
370eb38e32
Feature: Disallow to load initial chunk on demand..: rename class to Error
2017-12-19 17:41:56 +02:00