Tobias Koppers
d3f8e16810
update webpack-sources for performance problem in hashing
...
add `stats.reasonsSpace` and `stats.groupReasonsByOrigin` to control large set of reasons
`detailed` preset limites all spaces to 1000 by default
fixes #13825
2021-07-20 13:29:25 +02:00
Tobias Koppers
61946b7c46
Revert "Merge pull request #12278 from xtuc/sven/import-assertions"
...
This reverts commit df02bc6c0a , reversing
changes made to a6f341e243 .
2021-07-16 21:54:21 +02:00
Tobias Koppers
df02bc6c0a
Merge pull request #12278 from xtuc/sven/import-assertions
...
parse import assertions
2021-07-16 17:07:28 +02:00
Tobias Koppers
a6f341e243
Merge pull request #13555 from markjm/markjm/dont-copy-maps
2021-07-16 16:58:25 +02:00
Tobias Koppers
bb6c596272
improve schema and description
2021-07-16 13:17:49 +02:00
Tobias Koppers
7f22e4721f
match on asserts
...
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00
Sven Sauleau
b166f46f2c
parse import assertions
2021-07-16 13:14:54 +02:00
Tobias Koppers
8dd38f5c8a
refactor
2021-07-16 13:05:18 +02:00
Nitin Kumar
d3fe3a331c
update types.d.ts
2021-07-15 16:58:22 +05:30
Mark Molinaro
41f02f947a
perf: let Compiler worry about and manage file and context timestamps
2021-07-13 22:13:40 +00:00
Tobias Koppers
94852e07f7
allow to disable runtime chunk per entry via `runtime: false`
...
and also via `ModuleFederationPlugin`.`runtime`
2021-07-05 11:32:45 +02:00
Tobias Koppers
492055ae90
add cache compression
2021-07-02 07:05:13 +02:00
Tobias Koppers
b443555501
this is a workaround to remove compilation-specific references from modules in the unsafe cache
...
I'm not proud of this solution, but it fixes it for now
Long term we might move these kind of references out of the module
into some kind of compilation/module graph specific store.
But that's not yet possible for backward-compat reasons.
2021-07-01 11:46:59 +02:00
chenxsan
02173d571a
add node-commonjs to ExternalsType
2021-06-29 23:11:04 +08:00
chenxsan
82c8a5c092
update webpack options
2021-06-29 12:33:28 +08:00
Tobias Koppers
f7766875bc
Merge pull request #13649 from webpack/cache/automatic-store
...
store cache after large changes
2021-06-28 17:35:14 +02:00
Tobias Koppers
142bc5610f
store cache after large changes
...
detect larger changes automatically and use shorter timeout
2021-06-28 11:35:14 +02:00
Tobias Koppers
35a399e81a
add dependencyType to externals function data
2021-06-24 16:45:14 +02:00
Tobias Koppers
629f9f031c
add support for module externals and automatic externals
2021-06-24 16:44:14 +02:00
Tobias Koppers
4da99d8254
add `module` library support, test and example
...
add test cases for `experiments.outputModule`
2021-06-23 14:49:14 +02:00
Tobias Koppers
d09cc17cee
use types from estree
2021-06-22 09:47:29 +02:00
Tobias Koppers
1edacddaa4
prettier
2021-06-21 11:18:23 +02:00
Tobias Koppers
e1c6d583cc
Merge pull request #13577 from Smona/master
...
Correct emitFile content argument type
2021-06-18 12:24:40 +02:00
Tobias Koppers
8affe0f21e
update types.d.ts
2021-06-18 10:56:27 +02:00
Tobias Koppers
f5fac83c08
clear compilation queues to reduce memory usage
2021-06-17 10:10:51 +02:00
Juho Vepsäläinen
9d01479d4e
chore: Update types
2021-05-31 14:55:35 +03:00
Tobias Koppers
4845915c0b
Lazy require some modules
2021-05-26 21:35:46 +02:00
Tobias Koppers
fe6d28dd16
Merge pull request #13412 from webpack/bugfix/watcher-invalidate-and-changes
...
track changes and removals correctly during watching
2021-05-20 15:53:52 +02:00
Tobias Koppers
8e9daad216
track changes and removals correctly
...
purge filesystem correctly
2021-05-19 19:06:58 +02:00
Tobias Koppers
973edfbd1b
support data urls as input in `new URL`
2021-05-19 11:30:09 +02:00
Tobias Koppers
ca2b56f5a0
Merge pull request #13296 from bolariin/issue-13284
...
fix: resolve mismatch with types declaration and docs for resourceQuery
2021-05-19 07:06:08 +02:00
Tobias Koppers
08090a9fee
Merge pull request #13401 from webpack/pascal-readonly-array
...
accept a readonly array for configuration options
2021-05-19 07:03:10 +02:00
Tobias Koppers
ad75cca1e0
Merge branch 'master' into pascal-readonly-array
2021-05-18 17:07:52 +02:00
Tobias Koppers
23f492f8ef
update typings
2021-05-18 16:00:45 +02:00
Tobias Koppers
c7d7940517
Merge branch 'master' into issue-13284
2021-05-17 16:22:54 +02:00
Tobias Koppers
0e881beb35
fix schema for absolute conditions and add test cases
2021-05-17 16:21:33 +02:00
Tobias Koppers
226a77c9d4
Merge pull request #13344 from webpack/dependabot/npm_and_yarn/typescript-4.2.4
...
chore(deps-dev): bump typescript from 4.2.0-beta to 4.2.4
2021-05-11 10:34:38 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
8ae9e3687e
update declarations
2021-05-11 09:26:40 +02:00
Tobias Koppers
3de13caba7
Merge pull request #13331 from dhruvit-r/bugfix/fs-call-signatures
2021-05-10 15:52:47 +02:00
Dhruvit Raithatha
e085eebd6c
make errors nullable for call signatures of filesystem types
2021-05-10 15:18:22 +05:30
Tobias Koppers
2e2cd6de85
Merge pull request #9856 from koto/tt-integration
2021-05-10 11:27:42 +02:00
Tobias Koppers
88da3f8ed2
normalize output.trustedTypes to an object
2021-05-10 10:34:21 +02:00
Tobias Koppers
7d42aa7a30
better types for normalized options
2021-05-10 09:58:27 +02:00
Tobias Koppers
869f9c8a8c
use createScriptUrl only when needed
2021-05-10 09:58:27 +02:00
Tobias Koppers
4b1592d07a
rename createScriptURL to createScriptUrl
2021-05-10 09:09:34 +02:00
Tobias Koppers
bb8ba1cd05
disable trustedTypes by default
...
allow to pass a boolean as trustedTypesPolicy
2021-05-10 09:02:46 +02:00
Tobias Koppers
442a1ebca5
rename validate function to avoid conflict
2021-05-07 18:14:25 +02:00
Tobias Koppers
87c0d1cd94
Merge branch 'master' into johnnyreilly/master
2021-05-07 18:07:23 +02:00
Tobias Koppers
77f625ab09
upgrade tooling and update types.d.ts
...
fixed SourceMap
import Schema from validate function
2021-05-07 18:01:45 +02:00