Tobias Koppers
494b22340c
Merge pull request #9728 from webpack/validation/potential-config-error-cache-groups
...
disallow shorthand cache groups syntax with cache group named test
2019-09-24 17:44:52 +02:00
Tobias Koppers
03b32d3765
disallow shorthand cache groups syntax with cache group named test
...
This is a potential config error
fixes #9722
2019-09-24 17:17:26 +02:00
Tobias Koppers
6f1c685071
Improve performance of LimitChunkCountPlugin a lot
2019-09-24 16:32:20 +02:00
Tobias Koppers
adfa484921
Merge pull request #9724 from webpack/bugfix/serve-regression
...
HMR plugin should only affect the root compilation
2019-09-23 19:23:35 +02:00
Tobias Koppers
b151069f4c
Merge pull request #9702 from weswigham/patch-1
...
Fix `LogTypeEnum` typedef
2019-09-23 11:49:54 +02:00
Tobias Koppers
d89dc70ad0
Merge pull request #9719 from hedgepigdaniel/perf/NormalModule-size
...
perf: cache module size in NormalModule
2019-09-23 11:49:29 +02:00
Tobias Koppers
1c4138d6ac
HMR plugin should only affect the root compilation
2019-09-23 11:42:48 +02:00
Daniel Playfair Cal
2aef0b615b
Memoize NormalModule.size()
2019-09-20 10:44:49 +10:00
Michael Budde
465922fb5f
nit: Don't recompute filename hash
2019-09-18 08:04:58 +02:00
Wesley Wigham
a559707421
Fix `LogTypeEnum` typedef
...
See [this comment](https://github.com/microsoft/TypeScript/pull/33411#discussion_r324371317 ) - the type is incorrect for what's desired here.
2019-09-13 14:17:26 -07:00
Guillaume Chau
b4c7fd5ff9
fix: check for asset nullity before fileFilter
...
Related: https://github.com/vuejs/vue-cli/issues/4572
2019-09-13 15:28:43 +02:00
Tobias Koppers
e41fab0bc3
make multiple assets to the same filename a warning
...
check source content to when comparing assets for warning
2019-09-13 08:42:36 +02:00
Haoqun Jiang
025c253732
fix: check the asset's existence before running filter
...
fixes https://github.com/vuejs/vue-cli/issues/4572
2019-09-13 12:37:33 +08:00
Tobias Koppers
758269e814
add emit/updateAsset to Compilation
...
add asset info with
* immutable for long term cache-able asset
* size for the asset size in bytes
* development for devtools
* hotModuleReplacement for HMR assets
show asset info in stats
2019-09-11 14:43:42 +02:00
Tobias Koppers
a736c3ea49
update code for `@enum` breaking change
2019-09-10 09:17:31 +02:00
Veniamin Krol
ef0f85eee9
Fix the typo in Parser.js
2019-08-31 21:37:18 +03:00
Tobias Koppers
83dd2951f0
fixes #9634
...
when minAvailableModules of a ChunkGroup shrink, children of this ChunkGroup need to be recalculated
2019-08-27 12:25:02 +02:00
NoScripter
34a6fa9018
refactor: cache always true
2019-08-20 20:13:39 +08:00
jamesgeorge007
dfcf3dd5c2
Minor grammatical correction
2019-08-19 20:12:03 +05:30
Tobias Koppers
3675f64e51
Merge pull request #9588 from jamesgeorge007/feat/add-types
...
chore(WebAssemblyGenerator): Added type metadata
2019-08-19 15:21:28 +02:00
jamesgeorge007
8d3c3c5640
remove extraneous check
2019-08-17 17:54:24 +05:30
jamesgeorge007
aba6ea6928
remove extraneous check
2019-08-17 17:53:09 +05:30
jamesgeorge007
2186d75d74
remove extraneous check
2019-08-17 17:52:51 +05:30
jamesgeorge007
7d45ca1002
Add types
...
getCountImportedFunc
2019-08-17 17:50:29 +05:30
jamesgeorge007
fbf1d47984
reword
2019-08-17 17:29:49 +05:30
jamesgeorge007
7331de580c
minor tweak
2019-08-17 17:28:17 +05:30
jamesgeorge007
60e33163bd
fix grammar
2019-08-17 17:26:11 +05:30
jamesgeorge007
b13bdc282a
fix typo
2019-08-17 17:24:27 +05:30
Tobias Koppers
9f27d0c6c8
Merge pull request #9559 from jamesgeorge007/feat/refactor-banner-plugin
...
chore: Minor refactor
2019-08-13 13:38:45 +02:00
Tim Neutkens
069c33a033
Fix asyncHook callback interceptor for ProfilingPlugin
...
While writing a custom profiler I ran into the issue that TerserPlugin never called it’s `end` trace. Eventually I tracked it down to the callback function. Instead of being overwritten it was being appended to the end of the function arguments. The callback has to be popped first because the added argument is a wrapper for the original callback.
2019-08-12 20:39:33 +02:00
jamesgeorge007
d7486fdb30
fix: revert
2019-08-11 08:58:55 +05:30
jamesgeorge007
aed5cce4f5
minor fix
2019-08-11 08:01:40 +05:30
jamesgeorge007
4f003c2cac
tweak
2019-08-11 00:03:48 +05:30
jamesgeorge007
fa3b3ef044
refactor
2019-08-10 23:58:27 +05:30
jamesgeorge007
72ee5a3579
fix: lint
2019-08-10 13:57:56 +05:30
jamesgeorge007
af8906df11
fix: refactor
...
correct spelling
2019-08-09 23:36:23 +05:30
jamesgeorge007
936a0dc24a
fix: grammar
2019-08-09 23:27:28 +05:30
jamesgeorge007
e0089223a0
fix: tweaks within replaceChunk
2019-08-09 23:23:49 +05:30
jamesgeorge007
71055c8699
fix: typo within pushChunk
2019-08-09 23:22:26 +05:30
Tobias Koppers
8006117bae
make status logging 1 char shorter
2019-08-02 09:45:26 +02:00
Tobias Koppers
7cfe0e6a41
fix 100% progress output
2019-08-02 08:48:28 +02:00
Tobias Koppers
40755384bf
Merge pull request #9506 from webpack/logging/status
...
Improve infrastructure logging
2019-08-01 16:45:48 +02:00
Tobias Koppers
98148b61c6
add infrastructureLog hook to MulitCompiler
2019-08-01 14:04:25 +02:00
Tobias Koppers
0b0e9e9608
fix Progress and Stats Tests for colors and output
2019-08-01 14:04:24 +02:00
Tobias Koppers
def2947929
add getInfrastructureLogger to MultiCompiler
2019-08-01 13:51:21 +02:00
Tobias Koppers
0c8d75c151
fix name for log hook
2019-08-01 13:51:20 +02:00
Tobias Koppers
8f0a443e6c
Colored console for node environment
...
Status report in logger
ProgressPlugins uses logger
2019-08-01 13:51:18 +02:00
Tobias Koppers
94bcce0b24
fix code and snapshots
2019-08-01 12:21:01 +02:00
jamesgeorge007
164f48f1fd
fix: code lint
2019-08-01 12:20:59 +02:00
James George
a302cfa8d0
Minor fix
2019-08-01 12:20:57 +02:00