Tobias Koppers
38de0dbf4e
allow to specify `publicPath` for each entrypoint
2021-04-14 16:38:01 +02:00
Tobias Koppers
21bc6e715b
add support for a pseudo `.webpack[type]` extension allows to set module type when no other type is set from module.rules
2021-04-12 12:27:54 +02:00
Tobias Koppers
f64f837629
tty detection uses provided stream
2021-04-06 15:23:22 +02:00
Tobias Koppers
4e117781e8
improvements
...
add appendOnly flag
add custom console
add custom stream
2021-04-06 15:20:27 +02:00
Hyeonmin Park
72ba68cc78
feat: add colors flag to infrastructureLogging
2021-04-04 14:28:31 +09:00
Tobias Koppers
c84329f73c
add GC to the memory cache and make it configurable
...
memory GC happens by default when persistent cache is enabled and in development mode
otherwise memory cache is kept forever
make maxAge for persistent cache configurable
GC the oldest content file even if it's not touched (to keep cache size small)
filesystem cache will now no longer cache in memory, but restore items from disk again when it was persisted
2021-04-01 17:12:53 +02:00
Tobias Koppers
c18b3c53e5
Merge pull request #12832 from webpack/bugfix/array-default-fallback
...
fix array expansion when using "..."
2021-03-08 10:51:34 +01:00
Tobias Koppers
e63e733713
fix array expansion when using "..."
2021-03-08 09:41:11 +01:00
Tobias Koppers
8dcb90dbbd
avoid making the package.json in context a build dependency
2021-03-06 16:36:14 +01:00
Tobias Koppers
44b4e25b98
fixes for electron target
...
electron has `importScripts` in worker
only choose a chunkLoading which fits to the chunkFormat
prefer fetch wasm loading over node wasm loading
2021-02-15 17:19:08 +01:00
Tobias Koppers
0e63c0db0a
fix infinite loop in defaulting
2021-02-05 20:09:50 +01:00
Tobias Koppers
36306a06e1
Merge pull request #11561 from smelukov/clean
2021-02-02 20:31:45 +01:00
Bogdan Chadkin
2fa807ee42
Fix paren
2021-02-02 16:22:36 +03:00
Bogdan Chadkin
93ac58c64e
Find package.json manually
2021-02-02 16:01:20 +03:00
Sergey Melyukov
654e4e1ba0
Merge remote-tracking branch 'upstream/master' into clean
2021-02-02 10:38:41 +03:00
Bogdan Chadkin
5717d826fc
Suppress type error
2021-01-31 17:14:53 +03:00
Bogdan Chadkin
b837b4c6d5
Replace pkg-dir with escalade
...
Escalade is small alternative to pkg-dir, find-up etc. without
dependencies. It's already used by browserslist.
2021-01-30 19:05:46 +03:00
Tobias Koppers
013ca3bdd7
add commonjsMagicComments options
...
move javascript related options from 'module' to 'module.parser.javascript'
2021-01-20 20:19:49 +01:00
Tobias Koppers
10aa3daede
add experiments.layers
...
add layers to define different module layers
support module layers in stats
add layer support for NormalModules
fixes #11466
2021-01-05 20:50:59 +01:00
Tobias Koppers
aac7f2e619
allow to configure parsers and generators globally
...
get plugin schemas from root schema
normalize module.parser/generator
add test case
2021-01-05 12:08:30 +01:00
Tobias Koppers
d46f945572
fix problem when HMR and different runtimes
...
allow HMR to work in WebWorkers too
2020-11-28 13:53:32 +01:00
Tobias Koppers
00dd8e12e5
remove code comment
2020-11-03 09:12:30 +01:00
evilebottnawi
480c4c0761
fix: more
2020-11-02 19:08:06 +03:00
evilebottnawi
868613d4c0
fix: more
2020-11-02 18:21:37 +03:00
evilebottnawi
4955ba9b7c
fix: more
2020-10-31 17:17:47 +03:00
evilebottnawi
f80cf621f2
fix: safari TP
2020-10-31 17:03:54 +03:00
evilebottnawi
fd7c4c8dd5
fix: more
2020-10-31 16:54:47 +03:00
evilebottnawi
8591a324d8
refactor: simplify
2020-10-30 21:47:37 +03:00
evilebottnawi
5aaf725d1b
refactor: simplify
2020-10-30 21:42:58 +03:00
evilebottnawi
f94005c3df
refactor: code
2020-10-30 21:32:57 +03:00
evilebottnawi
6092ff3453
fix: more
2020-10-30 21:16:58 +03:00
evilebottnawi
31bb35e177
fix: parsing of browserslist
2020-10-30 20:24:42 +03:00
Tobias Koppers
e1b5a78a24
add optimization.sideEffects: "flag" and use this by default
...
analysing for side effects cause unnecessary changes in parent modules and we want to avoid that in development
2020-10-27 06:50:07 +01:00
Tobias Koppers
e000017cce
caniuse es6 doesn't report arrow-functions correctly
...
ie11 is an exception
fixes #11753
2020-10-20 13:29:57 +02:00
Maya
906a447fab
Fix require handling with electron; fixes #11599
2020-10-08 01:06:31 +02:00
Sergey Melyukov
ee0c891c67
(fix): pr comments
2020-10-07 15:30:14 +03:00
Sergey Melyukov
8c2e4f595b
Merge remote-tracking branch 'upstream/master' into clean
2020-10-07 14:19:55 +03:00
Sergey Melyukov
4b04a4b1f5
(feat): add output.clean
2020-09-30 18:33:30 +03:00
Tobias Koppers
68f0dbe748
allow plugins to modify the default size types for splitChunks
2020-09-29 14:34:59 +02:00
Tobias Koppers
4ea79e0683
update enhanced-resolve and webpack-sources
...
add resolve.preferRelative
set preferRelative for new URL() and new Worker() to fix relative requests
2020-09-28 20:43:03 +02:00
Tobias Koppers
7597fe3baf
make browserslist the default target when browserslist config is available
2020-09-28 13:48:13 +02:00
Tobias Koppers
d08ac15854
browserslist declarations
2020-09-28 11:39:55 +02:00
Tobias Koppers
d6c7adf3fb
throw error when no browserslist config found
2020-09-28 11:39:52 +02:00
Tobias Koppers
a06f37f485
always parse into an object
2020-09-28 11:18:26 +02:00
Tobias Koppers
40a1bd12c1
infer other properties from browserslist target too
2020-09-28 11:18:25 +02:00
Tobias Koppers
fa8870718e
fill missing ecmaversion information from other sources
2020-09-28 11:18:25 +02:00
Sergey Melyukov
31af9c370b
(fix): case insensetive rx
2020-09-24 23:44:41 +03:00
Sergey Melyukov
baafdc189f
(fix): support win platform
2020-09-24 23:10:33 +03:00
Sergey Melyukov
fabcaede17
(fix): linting
2020-09-24 15:46:28 +03:00
Sergey Melyukov
d1970115a4
(fix): simplify browserslist syntax
2020-09-24 15:41:54 +03:00