Ben Schmeckpeper
0ddecfa7f7
Just one space after periods.
...
Co-Authored-By: James George <jamesgeorge998001@gmail.com>
2020-02-07 11:57:14 -06:00
Ben Schmeckpeper
542eaf9de2
Exit with an error if we can't prompt for webpack-cli installation.
...
If STDIN is not in terminal mode when the webpack script is executed, the
readline module will never execute the callback passed to question and the
script will exit successfully, without ever building the pack. An example of
this is Rails' webpacker gem, which executes the webpack script in a subshell.
If STDIN is not in terminal mode, we should exit with an error immediately,
instead of attempting to ask a question to which we'll never receive an answer.
2020-02-06 13:49:01 -06:00
Tobias Koppers
f40d05fdea
Merge pull request #10311 from ry8806/patch-1
...
Update examples/many-pages/README.md
2020-02-06 09:42:49 +01:00
Tobias Koppers
ba832ec08c
Merge pull request #10326 from vankop/refactor-binary-middleware
...
refactor BinaryMiddleware
2020-02-06 09:42:15 +01:00
Tobias Koppers
a151b3664a
Merge pull request #10314 from smelukov/inner-graph-usage-callback
...
Usage callbacks on inner graph
2020-02-06 09:35:08 +01:00
Tobias Koppers
146f23bbde
remove unused type import
2020-02-05 11:21:38 +01:00
Ivan Kopeykin
19f5cd879e
( #10326 ) resolve discussions
2020-02-05 13:19:10 +03:00
Tobias Koppers
8cbb4ed72c
remove dependencies from inner graph
...
only use TopLevelSymbols in graph
2020-02-05 11:06:27 +01:00
Tobias Koppers
1d2d1085bd
use jsdoc object notation
2020-02-05 10:17:05 +01:00
Ryan Southgate
a094d9f13e
Update template.md
...
updated as requested
2020-02-05 09:15:38 +00:00
Tobias Koppers
56036a55ad
Merge pull request #10315 from smelukov/pregress-percent-by
...
add percentBy options to ProgressPlugin
2020-02-05 10:09:38 +01:00
Tobias Koppers
503e6561d5
Merge pull request #10293 from jamesgeorge007/patch
...
chore(JavascriptParser.js): Minor enhancements
2020-02-05 10:04:55 +01:00
Tobias Koppers
a6e3f6b5f0
Merge pull request #10327 from vankop/file-middleware-extra-info
...
refactor(FileMiddleware): add format information, minor code refactoring
2020-02-05 09:37:53 +01:00
Tobias Koppers
152fa4ce97
Merge pull request #10334 from smelukov/entry-descriptor
...
Add entrypoint descriptor with `import` property
2020-02-05 09:34:46 +01:00
Tobias Koppers
98cf565c5c
Merge pull request #10343 from webpack/compat/cache-readonly
...
make compiler/compilation.cache read-only
2020-02-05 09:20:11 +01:00
Tobias Koppers
645263f023
make compiler/compilation.cache read-only, to make it easier to find incompatible plugins
...
fixes #10341
2020-02-05 08:39:12 +01:00
Tobias Koppers
794fe448fa
fix validation snapshots
2020-02-05 08:28:49 +01:00
Tobias Koppers
8d65bd7580
rename Compilation.entryDependencies -> entries
...
and store dependencies and options
2020-02-04 22:35:20 +01:00
Tobias Koppers
18ae77ef56
addEntry takes options object instead of only name
...
remove duplication in EntryOptionsPlugin and DynamicEntryPlugin
lazy require (Dynamic)EntryPlugin in EntryOptionsPlugin
2020-02-04 21:21:42 +01:00
Sergey Melyukov
a9b72d4b40
Merge remote-tracking branch 'upstream/master' into inner-graph-usage-callback
2020-02-04 15:31:06 +03:00
Tobias Koppers
cdc836850a
Merge pull request #10335 from webpack/perf/snapshots
...
Performance improvement
2020-02-04 10:02:24 +01:00
Tobias Koppers
9cebcfd9fd
be more lazy when creating resultingAvailableModules
2020-02-04 09:19:22 +01:00
Tobias Koppers
a79f250806
ModuleSetPlus for minAvailableModules
2020-02-04 09:19:20 +01:00
Tobias Koppers
4b7a90f531
ModuleSetPlus for resultingAvailableModules
2020-02-04 09:19:19 +01:00
Tobias Koppers
de91b1e916
capture total visitModules time
2020-02-04 09:19:18 +01:00
Tobias Koppers
b33d777add
enable ids in optimize-chunks stats test cases
2020-02-04 09:19:17 +01:00
Tobias Koppers
9ae0b6a421
allow stats.ids in schema
2020-02-04 09:19:09 +01:00
Tobias Koppers
64675e3093
use output.hashFunction and hashDigest for getKey in SplitChunksPlugin
2020-02-04 09:18:54 +01:00
Tobias Koppers
8399762621
use bigints as chunks key for performance
2020-02-04 09:18:18 +01:00
Sergey Melyukov
7da1b5e70a
feat: add entrypoint descriptor with `import` property
2020-02-03 17:46:14 +03:00
Tobias Koppers
26d68719a3
cache getKey for splitChunks.maxSize
2020-02-03 11:02:49 +01:00
webpack bot
89c752411e
Merge pull request #10330 from webpack/dependabot/npm_and_yarn/wast-loader-1.9.0
...
chore(deps-dev): bump wast-loader from 1.8.5 to 1.9.0
2020-02-03 00:31:54 +01:00
dependabot-preview[bot]
2e385a7575
chore(deps-dev): bump wast-loader from 1.8.5 to 1.9.0
...
Bumps [wast-loader](https://github.com/xtuc/webassemblyjs ) from 1.8.5 to 1.9.0.
- [Release notes](https://github.com/xtuc/webassemblyjs/releases )
- [Commits](https://github.com/xtuc/webassemblyjs/compare/v1.8.5...v1.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-01 23:27:05 +00:00
Ivan Kopeykin
350e397f63
refactor(FileMiddleware): add format information, minor code refactoring
2020-01-31 19:53:50 +03:00
Tobias Koppers
352ecd0c3a
Dedupe snapshots via shared snapshots
2020-01-31 17:15:15 +01:00
Ivan Kopeykin
3cd865d7ab
refactor(BinaryMiddleware):
2020-01-31 16:52:57 +03:00
Tobias Koppers
7f583400fb
Merge pull request #10323 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.4
...
chore(deps): bump terser-webpack-plugin from 2.3.1 to 2.3.4
2020-01-31 14:00:53 +01:00
Tobias Koppers
c7c235b2b2
update test cases for updated terser version
2020-01-31 11:00:51 +01:00
Tobias Koppers
266cd879f4
Merge pull request #10325 from webpack/dependabot/npm_and_yarn/coffeescript-2.5.1
...
chore(deps-dev): bump coffeescript from 2.5.0 to 2.5.1
2020-01-31 10:58:38 +01:00
Tobias Koppers
50e18f34f8
Merge pull request #10318 from webpack/perf/side-effects
...
Performance and time logging
2020-01-31 10:58:26 +01:00
dependabot-preview[bot]
2045224543
chore(deps-dev): bump coffeescript from 2.5.0 to 2.5.1
...
Bumps [coffeescript](https://github.com/jashkenas/coffeescript ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/jashkenas/coffeescript/releases )
- [Commits](https://github.com/jashkenas/coffeescript/compare/2.5.0...2.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 09:24:47 +00:00
dependabot-preview[bot]
3a87ea05e8
chore(deps): bump terser-webpack-plugin from 2.3.1 to 2.3.4
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 2.3.1 to 2.3.4.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.1...v2.3.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 17:10:51 +00:00
Tobias Koppers
961c13cbd8
Merge pull request #10321 from webpack/evilebottnawi-patch-1
...
Update HashedModuleIdsPlugin.json
2020-01-30 16:21:31 +01:00
Tobias Koppers
5f99e9bcad
Merge pull request #10322 from webpack/dependabot/npm_and_yarn/babel/core-7.8.4
...
chore(deps-dev): bump @babel/core from 7.8.3 to 7.8.4
2020-01-30 16:16:53 +01:00
Tobias Koppers
e96695a18a
add more time logging
2020-01-30 16:10:56 +01:00
Tobias Koppers
e6113e9787
optimize SideEffectsFlagPlugin performance
2020-01-30 16:10:53 +01:00
Tobias Koppers
87ca18cf02
Merge pull request #10317 from webpack/defaults/enable-in-dev
...
enable optimization.sideEffects, innerGraph and usedExports by default
2020-01-30 16:00:34 +01:00
dependabot-preview[bot]
f76e4dc405
chore(deps-dev): bump @babel/core from 7.8.3 to 7.8.4
...
Bumps [@babel/core](https://github.com/babel/babel ) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 13:48:29 +00:00
Tobias Koppers
4e926c7a58
enabled optimization.innerGraph and optimization.usedExports by default
2020-01-30 14:36:44 +01:00
Tobias Koppers
21337fe49c
enable optimization.sideEffects by default
2020-01-30 14:35:29 +01:00