alexander.akait
f01902c764
chore: update eslint plugin
2023-04-08 02:47:28 +03:00
Tobias Koppers
a26b3f8a1d
fix pre-compiled schema validation for Infinity and arrays
...
show deprecation when pre-compiled schema is invalid
2021-11-24 08:34:55 +01:00
Tobias Koppers
7afcc5d4ff
allow to disable some deprecations
...
add `experiments.backCompat: false` (default in `experiments.futureDefaults`)
remove unused `experiments.asset`
enable `experiments.topLevelAwait` and `experiments.asyncWebAssembly` by default in `experiments.futureDefaults`
2021-11-05 09:54:51 +01:00
chenxsan
fe3fea7003
fix a typo
2021-07-12 18:15:59 +08:00
Tobias Koppers
5f7394b76f
fix type error
2021-05-18 17:10:36 +02:00
Tobias Koppers
ad75cca1e0
Merge branch 'master' into pascal-readonly-array
2021-05-18 17:07:52 +02:00
Tobias Koppers
e21b1d46fe
precompile schemas for improved startup performance
2021-04-16 16:02:58 +02:00
Pascal Corpet
cc1b41420c
Update lib/webpack.js
...
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2021-04-01 23:52:21 +02:00
Pascal Corpet
60d4605173
fix types: accept a readonly array for configuration options
2021-03-08 09:06:04 +01:00
Tobias Koppers
e7d9457963
refactor dependencies handling in MultiCompiler
...
add support for dependencies during watching
add parallelism option for MultiCompiler
2021-02-13 21:02:47 +01:00
Tobias Koppers
cbcd459d19
fix conflicting real imports and type imports
2020-11-26 10:02:59 +01:00
Tobias Koppers
10cad2a95e
revert error and add deprecation instead
2020-09-29 20:21:59 +02:00
Tobias Koppers
0e926a5fb7
Invoking webpack with an 'callback' should always report errors via the callback
...
to keep the async callback contract
2020-09-28 11:39:50 +02:00
Tobias Koppers
67d4132534
improve top level types
2020-04-21 09:26:07 +02:00
Tobias Koppers
6477ca56f8
Split options defaulting in normalization and defaults
...
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +01:00
Emanuele Stoppa
e607681277
fix: replaced some TODO with correct types and fixed some runtime issue
2019-11-28 22:48:01 +01:00
Tobias Koppers
eb3ea4d39e
extract webpack config validation to keep validate API
2019-08-08 12:44:45 +02:00
evilebottnawi
6a99b5316d
refactor: migrate on `schema-utils`
2019-08-07 18:10:40 +03:00
Tobias Koppers
c17dfde7a8
Merge tag 'v4.37.0' into next
...
4.37.0
2019-07-24 10:51:04 +02:00
Tobias Koppers
d532c4f24f
allow to configure the infrastructure logger
...
rename includeDebugLogging to loggingDebug
rename logToConsole to createConsoleLogger
2019-07-22 09:22:36 +02:00
jamesgeorge007
0109d687a6
Linting fix
2019-06-19 20:29:37 +05:30
James George
3321f3138e
Handle cryptic error message being thrown
...
misconfigured config file
2019-06-19 20:05:43 +05:30
Tobias Koppers
6dd4e53444
ignore is no longer needed
2018-12-15 14:28:47 +01:00
Florent Cailhol
30fabc10ec
Change webpack() callback signature
2018-12-13 10:57:05 +01:00
Florent Cailhol
e06b4853d6
Add compiler typings
2018-12-12 10:26:53 +01:00
Florent Cailhol
9caaa664f7
Refactor webpack main
2018-12-09 15:32:03 +01:00
Florent Cailhol
1c4d973be7
Deprecate AggressiveSplittingPlugin
2018-12-05 15:02:45 +01:00
Tobias Koppers
0ff1a4f8f8
Merge tag 'v4.27.0' into next
...
4.27.0
2018-12-04 11:02:26 +01:00
Tobias Koppers
f753f92c28
ensureChunk to RuntimeModule
...
step 1: non HMR cases
2018-11-29 16:16:39 +01:00
Tobias Koppers
507c2a85ce
merge ExtendedAPIPlugin into APIPlugin
2018-11-29 16:05:39 +01:00
shaw
70b9a1b0b7
fix parameter missing when plugin type is a funtion
2018-11-26 22:37:08 +08:00
Tobias Koppers
7340fbb547
refactor Cache
...
add a new hookable Cache class
removed CachePlugin
add MemoryCachePlugin
refactor timestamps
create FileSystemInfo class
2018-09-27 13:20:19 +02:00
Tobias Koppers
17044bf9c6
Merge tag 'v4.20.0' into next
...
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers
d48975c948
use types from schema
2018-09-21 11:04:19 +02:00
Tobias Koppers
56c613a669
add moduleIds deterministic for simpler long term caching
2018-09-18 17:49:19 +02:00
Tobias Koppers
b4860ccebb
refactor chunk id plugins
2018-09-05 14:28:52 +02:00
Tobias Koppers
4d7b5b3b5e
Refactor module id plugins to be independent
2018-09-03 20:45:44 +02:00
Tobias Koppers
2dc22d0db0
add SingleEntryPlugin as deprecated export
2018-08-15 21:10:35 +02:00
Tobias Koppers
6d5310fbd6
allow multiple entryModules per chunk
...
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers
3cf01999b5
add ChunkGraph
...
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
66d3f319a6
Merge tag 'v4.16.2' into next
...
4.16.2
2018-07-23 12:19:16 +02:00
Tobias Koppers
5e72a6505a
remove deprecated optimization options
...
and update test cases
2018-07-16 10:32:02 +02:00
Tobias Koppers
2b14ddc984
Merge tag 'v4.16.0' into next
...
4.16.0
2018-07-11 11:13:47 +02:00
Tobias Koppers
569c415623
Merge branch 'master' into enable-noImplicitThis
2018-07-11 08:43:26 +02:00
Tobias Koppers
3fc4eb752f
add new options moduleIds and chunkIds
...
deprecate namedModules, hashedModuleIds, namedChunks
add a lot of TODOs for webpack 5
split OccurenceOrderPlugin into separate plugins for modules and chunks
add NaturalChunkOrderPlugin and enable it in development
2018-07-09 15:06:19 +02:00
Mohsen Azimi
a0e1ad920e
Enable noImplicitThis TypeScript compiler option
2018-07-05 08:07:46 +03:00
Tobias Koppers
bd2e3448ec
Merge tag 'v4.14.0' into next
...
4.14.0
2018-07-04 22:10:53 +02:00
Florent Cailhol
91663f19a2
Remove deprecated APIs
2018-06-27 10:08:12 +02:00
Tobias Koppers
50fe2e79ee
add Compilation.getDependencyReference and hooks to override it
...
expose DependencyReference class
2018-06-23 15:13:14 +02:00