Tobias Koppers
273bd8f575
move defineRemovedModuleTemplates into separate function as it leaks memory in the feedback vectors
2021-06-17 10:11:24 +02:00
Tobias Koppers
f5fac83c08
clear compilation queues to reduce memory usage
2021-06-17 10:10:51 +02:00
Nathan Summers
e852415cd5
Allow HMR status handlers to return a Promise
...
The HMR system will wait until the promise settles before continuing.
2021-06-16 16:58:58 -07:00
Tobias Koppers
9a7cf9a4ba
getAllInitialChunks really returns all of them
2021-06-14 21:27:57 +02:00
Tobias Koppers
ac97a276a5
Merge pull request #13533 from markjm/markjm/errors
...
perf: Remove Error.captureStackTrace from all WebpackErrors
2021-06-11 15:02:48 +02:00
Mark Molinaro
ecf87288d5
perf: Remove Error.captureStackTrace from all WebpackErrors
2021-06-07 07:15:28 +00:00
Mark Molinaro
74d5172b03
Respect allowCollectingMemory setting (being normalized away right now)
2021-06-01 18:02:19 +00:00
Nitin Kumar
a58c0a6b6e
chore: improve clarity in description
2021-06-01 17:53:08 +05:30
Nitin Kumar
ea9bfc70ac
enhancement: improve description for reset type flags
2021-06-01 08:19:02 +05:30
Tobias Koppers
23c4907af5
fix bug in ContextModule, improve test case for lazy compilation
2021-05-31 18:16:21 +02:00
Juho Vepsäläinen
189a8863cd
chore: Allow passing a typePrefix to ContextElementDependency
...
This is needed to tell different usages apart. The added information is
used by the lazy compilation feature.
2021-05-31 14:46:38 +03:00
du
946e96f476
fix:the judgment of promise is changed from instanceof to Promises/A+ standard
2021-05-29 00:53:19 +08:00
Tobias Koppers
55dacb4b36
increment index in sorting
2021-05-27 21:45:40 +02:00
Tobias Koppers
8da05420a4
Merge pull request #13449 from webpack/bugfix/hmr-new-runtime
...
avoid generating hmr updates for previously not existing runtimes
2021-05-27 12:07:10 +02:00
Tobias Koppers
bd8af21c20
avoid generating hmr updates for previously not existing runtimes
2021-05-26 22:16:32 +02:00
Tobias Koppers
b1b9ef34a9
cache buffer in local var
2021-05-26 21:35:46 +02:00
Tobias Koppers
bb6040b07f
(re)store provided exports sorted
2021-05-26 21:35:46 +02:00
Tobias Koppers
cc5890163a
improve ExportsInfo sorting performance by keeping Map size to avoid reorganizing
2021-05-26 21:35:46 +02:00
Tobias Koppers
f6b5bc54fe
Create entry dependency only once for better unsafe caching
2021-05-26 21:35:46 +02:00
Tobias Koppers
4845915c0b
Lazy require some modules
2021-05-26 21:35:46 +02:00
Tobias Koppers
fbcc470bcf
add fsStartTime for single runs
2021-05-21 08:06:46 +02:00
Tobias Koppers
ad1c80214d
Merge pull request #13409 from webpack/bugfix/class-fields-concatenated
...
add workaround for broken eslint-scope package regarding class field support
2021-05-20 15:54:27 +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
4cf272b824
add workaround for broken eslint-scope package regarding class field support
2021-05-19 16:21:54 +02:00
Tobias Koppers
973edfbd1b
support data urls as input in `new URL`
2021-05-19 11:30:09 +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
0b3f717123
Merge pull request #13399 from webpack/bugfix/resume-watching
...
fix suspend and resuming watching correctly
2021-05-19 07:02:10 +02: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
9e7062f5e6
fixes #13330
2021-05-18 16:54:16 +02:00
Tobias Koppers
0d4dbd019a
fix collecting of changed files and aggregating when suspending
2021-05-18 14:23:33 +02:00
Tobias Koppers
878ce6b11a
respect multi compiler `dependencies` and `parallelism` when using `invalidate`
2021-05-17 13:49:43 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
84ae69ba1f
Merge pull request #13334 from webpack/bugfix/depend-on-runtime-async-chunks
2021-05-10 18:08:49 +02:00
Tobias Koppers
3de13caba7
Merge pull request #13331 from dhruvit-r/bugfix/fs-call-signatures
2021-05-10 15:52:47 +02:00
Tobias Koppers
f98c65a2d2
fix too large runtime chunks when using dependOn
2021-05-10 15:49:08 +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
6a3cc0ab2f
fix author
2021-05-10 10:12:23 +02:00
Tobias Koppers
a86974b7aa
rename to CreateScriptUrlRuntimeModule to have same name as RuntimeGlobal
2021-05-10 10:09:18 +02:00
Tobias Koppers
1879f243dd
generate shorter code
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
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
Krzysztof Kotowicz
3561285ea8
Skip using Trusted Types checks if trustedTypesPolicyName is empty.
2021-05-07 10:30:57 +02:00
Bjarki
b6e112dabe
Only expose createScriptURL function from Trusted Types policy
...
Since createScriptURL is the only function that is used on webpack's
Trusted Types policy, replace the getTrustedTypesPolicy global with a
simpler createScriptURL global.
In terms of compiled code, this replaces the non-minifiable
tt().createScriptURL(url) with tu(url), which is more compact in terms
of code size.
2021-05-04 16:26:22 +02:00
Krzysztof Kotowicz
8c3ebccc69
Added Trusted Types support for importScripts() in workers.
2021-05-04 16:17:49 +02:00
Bjarki
cca01affef
Make Worker transformation compatible with Trusted Types
2021-05-04 16:12:41 +02:00
Bjarki
c71184958d
Move Trusted Types policy into TrustedTypesRuntimeModule
...
Also make the policy available at runtime through
RuntimeGlobals.getTrustedTypesPolicy(), and update runtime dependencies
accordingly.
2021-05-04 16:12:41 +02:00
Krzysztof Kotowicz
dbd095b44a
Added the Trusted Types logic.
2021-05-04 16:12:34 +02:00
Krzysztof Kotowicz
c816c135ca
Removed a deprecated createURL function reference.
2021-05-04 16:06:37 +02:00
Tobias Koppers
adc10a5636
make ESM tracking info message less verbose
2021-04-30 15:07:17 +02:00
Tobias Koppers
263a06a13c
Merge pull request #13279 from webpack/bugfix/depend-on-modules
...
fix too many modules are included in chunks when using chained dependOn
2021-04-30 13:42:55 +02:00
Tobias Koppers
a36739a177
Merge pull request #13276 from webpack/bugfix/emit-caching
...
emit assets even when they were cleaned from fs in the meantime
2021-04-30 13:31:32 +02:00
Tobias Koppers
81f244ba2e
Merge pull request #13277 from webpack/bugfix/worker-runtime-name
...
fix problems with auto-generated runtime name for workers
2021-04-30 12:48:17 +02:00
Tobias Koppers
027f9bd929
fix too many modules are included in chunks when using chained dependOn
2021-04-30 12:47:59 +02:00
Tobias Koppers
f243907fe8
emit assets even when they were cleaned from fs in the meantime
2021-04-30 11:55:56 +02:00
Tobias Koppers
1ca93aaa6b
Make auto-generated runtime name a hash instead of leaking pathinfo
...
Make auto-generated runtime name more stable by using index instead of source code location
fixes #12883
2021-04-30 11:28:04 +02:00
Tobias Koppers
eea0aee1a7
catch errors thrown during parser/generation creation
2021-04-30 09:45:14 +02:00
Tobias Koppers
a060126e49
improve module dependency processing performance
2021-04-28 10:27:51 +02:00
Tobias Koppers
31415ecdb4
improve algorithmic complexity for merging InitFragments to solve performance in an edge case
2021-04-28 09:10:45 +02:00
Tobias Koppers
532b07e0c1
faster hashing for the common case
2021-04-28 09:10:45 +02:00
Tobias Koppers
fc3fe304d9
return consistent datastructure type
2021-04-28 09:10:44 +02:00
Tobias Koppers
89d6dcb0e2
used cached value
2021-04-28 09:10:44 +02:00
Tobias Koppers
9b57c3cb56
avoid complex "by exports" splitting for splitChunks in development mode
2021-04-28 09:10:44 +02:00
Tobias Koppers
766be5a3fd
add cache.profile flag for more info about (de)serialization timings
2021-04-28 09:10:43 +02:00
Tobias Koppers
0abe3df1c6
Merge pull request #13235 from webpack/feature/class-fields
...
add support for class fields
2021-04-27 11:37:04 +02:00
Tobias Koppers
94facd387d
add support for class fields
2021-04-27 10:28:13 +02:00
Tobias Koppers
00d176419c
avoid nextTick when possible
2021-04-27 09:36:52 +02:00
Tobias Koppers
0aff7d2c63
avoid creating objects for location info when not accessed
2021-04-27 09:36:52 +02:00
Tobias Koppers
6fce46ebd8
avoid duplicate serialization
2021-04-27 01:20:56 +02:00
Tobias Koppers
78ee6fb386
store parents in Dependency
2021-04-23 14:51:25 +02:00
Tobias Koppers
88d90bea14
Use LazySets for ContextModuleFactory
2021-04-23 14:51:25 +02:00
Tobias Koppers
acfea9dae4
improve module graph hashing via bigints
2021-04-23 14:51:24 +02:00
Tobias Koppers
d1a56a8a44
skip unknown exports faster
2021-04-23 14:51:24 +02:00
Tobias Koppers
a89deee176
improve smartGrouping performance
2021-04-23 14:51:24 +02:00
Tobias Koppers
b71e0ced35
Merge branch 'master' into johnnyreilly/master
2021-04-22 21:52:48 +02:00
Tobias Koppers
ea53a23827
improve LoaderContext declaration
...
upgrade tooling
2021-04-22 21:48:29 +02:00
Tobias Koppers
7cc40782b7
fix some internal types
2021-04-22 21:48:25 +02:00
Tobias Koppers
e42915cf49
clean up types
2021-04-22 10:54:50 +02:00
Tobias Koppers
cb494c9a8b
fix returning exports from runtime for libraries
...
fixes #13165
2021-04-22 09:32:17 +02:00
Tobias Koppers
0eb2f352fe
fix typo
...
thanks @markjm
2021-04-21 07:20:11 +02:00
John Reilly
8cd30eb222
revert generic approach
2021-04-20 18:12:16 +01:00
Tobias Koppers
be66dc6242
collect memory cache faster when using filesystem cache
2021-04-20 15:40:06 +02:00
Tobias Koppers
177736f59c
avoid leaking unused memory in buffer backing stores in development mode
2021-04-20 15:22:16 +02:00
Tobias Koppers
09240b1230
avoid leaking context of cached function
2021-04-20 15:17:54 +02:00
Tobias Koppers
bf3f89c6ab
create functions outside of context to avoid leaking the context
2021-04-20 15:17:31 +02:00
Tobias Koppers
43f9320e83
remove large arrays from context to avoid leaking
2021-04-20 14:13:04 +02:00
John Reilly
40a5eb17fe
tried generic workarouuund
2021-04-20 09:18:59 +01:00
John Reilly
1578fd4f2f
schema
2021-04-20 09:01:46 +01:00
John Reilly
39042a2578
Update lib/index.js
...
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2021-04-20 08:52:15 +01:00
John Reilly
df44d7d8b7
attempt @sokras suggestion
2021-04-20 06:05:54 +01:00
John Reilly
a2f8808fee
apply @sokra's feedback and include runtime type
2021-04-19 19:30:58 +01:00
Tobias Koppers
85fe6ac4f4
Merge pull request #13157 from scamden/pr-hash-bug
...
fix(resolve): allows filesysteminfo to resolve files that have #'s
2021-04-19 19:42:59 +02:00
Tobias Koppers
28d9589d45
Merge pull request #13154 from webpack/perf/iterable
...
cheaper getIterator
2021-04-19 16:29:45 +02:00
Tobias Koppers
0197867237
use paths without fragment and query
2021-04-19 12:13:47 +02:00
Tobias Koppers
a8e229f2d8
Merge pull request #13174 from webpack/bugfix/pnpapi-external
...
add pnpapi as builtin
2021-04-19 11:12:44 +02:00
Tobias Koppers
ee24b22073
Merge pull request #13169 from janlent1/master
...
Fix deprecation message for LimitChunkCountPlugin
2021-04-19 10:34:15 +02:00
Tobias Koppers
f8fdc19c71
add pnpapi as builtin
...
fixes https://github.com/webpack/enhanced-resolve/pull/286
2021-04-19 10:30:51 +02:00
Tobias Koppers
ff6656338d
fix performance regression
2021-04-18 20:28:39 +02:00
Jan Lentmaier
d88605dcbd
Fix deprecation message for LimitChunkCountPlugin
...
Just a quick test whether the issue can easily be solved
by using the chunkGraph instead of the old methods.
2021-04-18 15:54:34 +02:00
John Reilly
586d013b91
feat: LoaderContext type
2021-04-16 19:28:30 +01:00
Tobias Koppers
e21b1d46fe
precompile schemas for improved startup performance
2021-04-16 16:02:58 +02:00
Sterling Camden
1e396e8296
fix(resolve): allows filesysteminfo to resolve files that have #'s escaped with \0
...
i don't understand the reasoning behind @sokra's escaping in enhanced resolve well enough to know if
this makes sense or is basically just undoing the hard work he did to distinguish these characters
from fragments. maybe he can chime in if this makes no sense to do
2021-04-15 11:43:34 -07:00
Tobias Koppers
70316dc998
fix #13130
2021-04-15 16:32:00 +02:00
Tobias Koppers
c7b1471251
cheaper getIterator
2021-04-15 15:17:52 +02:00
Tobias Koppers
2df8267220
handle falsy entry options correctly
2021-04-14 20:21:17 +02:00
Tobias Koppers
8d3a230366
fix passing publicPath to `this.importModule`
2021-04-14 19:48:22 +02:00
Tobias Koppers
aca0ee5073
Merge pull request #13137 from webpack/feature/public-path-entry
...
allow to specify `publicPath` for each entrypoint
2021-04-14 18:22:59 +02:00
Tobias Koppers
52178a5aee
Merge pull request #13134 from webpack/bugfix/hmr-in-execute-module
...
importModule & HMR
2021-04-14 16:55:37 +02:00
Tobias Koppers
38de0dbf4e
allow to specify `publicPath` for each entrypoint
2021-04-14 16:38:01 +02:00
Tobias Koppers
f46e816a38
add HMR test case and fix problems with it
2021-04-14 16:03:59 +02:00
Tobias Koppers
24c5902374
add interceptModuleExecution, module cache and improve error messages
2021-04-14 14:37:00 +02:00
Tobias Koppers
d808d04d26
attach the chunk graph to RuntimeModules
2021-04-14 12:26:35 +02:00
Tobias Koppers
0513a52df6
cache HarmonyExportImportedDependency.getMode
2021-04-14 09:11:23 +02:00
Tobias Koppers
bbcc5a8ebe
add caching on ModuleGraph
...
cache star reexport assignment
2021-04-14 09:11:23 +02:00
Tobias Koppers
9cecf3c4a4
add support for serializing circular values
2021-04-14 08:56:32 +02:00
Tobias Koppers
03961f3391
Merge pull request #13102 from webpack/feature/built-time-execution
2021-04-12 15:00:32 +02:00
Tobias Koppers
33c862e07b
emit assets from modules during executing modules
2021-04-12 12:42:25 +02:00
Tobias Koppers
ea3e0a39ac
add experiments.executeModule
...
rename runModule -> executeModule
improve error reporting
2021-04-12 12:27:55 +02:00
Tobias Koppers
0a9041e1cc
AsyncQueue only returns WebpackError
2021-04-12 12:27:55 +02:00
Tobias Koppers
1d35cf13e3
fix cache dependencies, assets and persistent caching
2021-04-12 12:27:54 +02:00
Tobias Koppers
065177df66
add experimental support for build time execution
...
allow to execute a part of the module graph at build time
e. g. to generate code or other assets
loaders have access to that via `this.importModule(request, options)`
2021-04-12 12:27:54 +02:00
Tobias Koppers
57f04262b2
only warn when there is really a casing difference
2021-04-12 12:27:54 +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
33b44a05ea
DefinePlugin invalidates modules when new defines are added
...
fixes https://github.com/vercel/next.js/issues/23901
2021-04-12 12:23:51 +02:00
Tobias Koppers
324a46d908
Revert "dispose code generation results after sealing the compilation"
...
This reverts commit cef2a8fea0
.
2021-04-09 19:50:13 +02:00
Tobias Koppers
b525e61a72
make sure that invalid event is only reported once
2021-04-09 17:51:58 +02:00
Tobias Koppers
cef2a8fea0
dispose code generation results after sealing the compilation
2021-04-08 18:33:51 +02:00
Tobias Koppers
51bd62d0b8
remove unused method
2021-04-08 18:26:22 +02:00
Tobias Koppers
c1b8a6c859
reduce number of write syscalls by creating larger buffers
...
and may copy small existing buffers into the larger one
2021-04-08 18:26:22 +02:00
Tobias Koppers
a3be72b24c
avoid leaking memory
2021-04-07 20:50:42 +02:00
Tobias Koppers
3caf3e95a8
avoid leaking processed assets
2021-04-07 20:48:07 +02:00
Tobias Koppers
6e3dbe32eb
Merge pull request #13077 from webpack/bugfix/hmr-entrypoint-reexecute
...
ensure that entrypoints are always re-executed when updated
2021-04-07 18:30:16 +02:00
Tobias Koppers
795b4b7b50
ensure that entrypoints are always re-executed when updated
2021-04-07 17:37:06 +02:00
Tobias Koppers
651e2ff0cb
fix subtraction of runtimes
...
fixes #13063
2021-04-07 15:50:28 +02:00
Tobias Koppers
83c8180c7d
prioritize static reexport over runtime reexport for target determination
...
this allows to optimize cases where empty modules are reexported e. g. caused by typescript type-only exports
2021-04-06 21:36:43 +02:00
Tobias Koppers
48b7cce9ce
Merge pull request #13051 from KENNYSOFT/infrastructurelogging-colors
2021-04-06 18:13:52 +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
Tobias Koppers
e2fb89eed1
improve resolving of build dependencies when `exports` field is used
2021-04-06 13:58:36 +02:00
Tobias Koppers
8f3a16a49a
improve handling of optional build dependencies
2021-04-06 11:28:41 +02:00
Hyeonmin Park
72ba68cc78
feat: add colors flag to infrastructureLogging
2021-04-04 14:28:31 +09: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
Tobias Koppers
3b8d26df1e
Merge pull request #12990 from webpack/bugfix/memory-leak-in-ic
...
memory usage improvements, add GC support for memory cache, persistent cache only mode
2021-04-01 18:14:16 +02:00
Tobias Koppers
b9519dcf01
Merge pull request #12987 from barak007/export-missing-entities
...
Export AsyncDependenciesBlock and ModuleDependency
2021-04-01 17:32:48 +02: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
8074127b98
avoid leaking memory after the compiler has been closed
...
clear cache on shutdown
2021-04-01 16:59:48 +02:00
Tobias Koppers
3d90836f29
fix some edge cases in deterministicGrouping and add more tests
2021-03-31 16:55:30 +02:00
Tobias Koppers
667bbf02bb
export base dependencies correctly
2021-03-31 16:40:24 +02:00
Tobias Koppers
3286203141
Merge pull request #13016 from 43081j/expose-assets
...
expose Stats types
2021-03-31 15:10:44 +02:00
Tobias Koppers
f8b7625c43
expose all Stats child types
2021-03-31 13:37:53 +02:00
43081j
64fc30f0fe
expose StatsAsset type
...
Fixes #13014
2021-03-29 22:02:31 +01:00
Tobias Koppers
cb94f3cbea
improve logging for resolving build dependencies
2021-03-29 09:17:24 +02:00
Tobias Koppers
87b67a920d
avoid memory leak in v8 ICs after parsing and building modules
2021-03-25 14:52:12 +01:00
Barak Igal
92e8a1252e
export AsyncDependenciesBlock and ModuleDependency
2021-03-25 15:37:20 +02:00
Tobias Koppers
2696446edf
avoid memory leak in v8 ICs after (de)serializing
2021-03-25 13:24:52 +01:00
shYkiSto
9566a5b732
fix(NormalModule): call super to restore base module cache data
2021-03-23 16:44:03 -07:00
Tobias Koppers
0307bcf691
Merge pull request #12902 from xiaoxiaojx/feat/assetModulePublicPath
2021-03-23 07:56:55 +01:00
Tobias Koppers
3f378d9ff4
improve cache serialization by 30%
2021-03-22 20:28:08 +01:00
Tobias Koppers
3bdfa84ca8
remove from normalization
2021-03-22 15:10:13 +01:00
Tobias Koppers
7f362c816f
merge related info correctly
2021-03-22 15:08:06 +01:00
Tobias Koppers
c5fa7510f2
remove `output.assetModulePublicPath` as it would be redundant to `module.generator.asset.publicPath`
...
add test case for assetInfo merging
2021-03-22 15:05:50 +01:00
Tobias Koppers
d500420688
fix duplicate new URL and spacing for worker dependencies
...
update worker example
2021-03-22 14:30:44 +01:00
Tobias Koppers
1f460409cc
Merge pull request #12945 from webpack/bugfix/lazy-compilation
...
fix lazy compilation caching
2021-03-22 14:04:03 +01:00
Tobias Koppers
d23706860c
allow HMR deps for lazy compilation
2021-03-22 11:59:37 +01:00
Tobias Koppers
9d28d7c1ad
fix lazy compilation caching
2021-03-22 11:46:29 +01:00
Tobias Koppers
9c648cf90f
improve error handling in beforeLoaders hook
2021-03-22 10:17:17 +01:00
xiaoxiaojx
55fd79ee6a
feat: support assetModulePublicPath
2021-03-20 17:53:01 +08:00
Seth Benjamin
94bd3bc6f9
fix: allow invalidation after first watch run
2021-03-19 12:32:50 -07:00
Tobias Koppers
f81c9ba777
Merge pull request #12936 from webpack/bugfix/cache-entry-ids
2021-03-19 17:25:00 +01:00
Tobias Koppers
7de25e52bb
Merge pull request #12935 from webpack/feature/loader-utils
...
offer contextify and absolutify in loader context as utils
2021-03-19 17:02:10 +01:00
Tobias Koppers
89a44ab742
fix caching bug when split chunks of an entrypoint change and modules of the entrypoint stay equal
2021-03-19 16:13:18 +01:00
Tobias Koppers
aacd7b2143
fix library exports when using onChunks in entry
2021-03-19 16:13:18 +01:00
Tobias Koppers
dace3350e2
fix incorrect id assignment of record ids plugin
2021-03-19 15:57:40 +01:00
Tobias Koppers
ecb2c18cc6
offer contextify and absoluteify in loader context as utils
2021-03-19 10:59:10 +01:00
Tobias Koppers
09faac25ec
fix imports field
2021-03-19 09:13:47 +01:00
Tobias Koppers
174eb3cdf8
fix race condition in MultiCompiler queuing
...
fixes https://github.com/vercel/next.js/issues/23125
2021-03-17 11:04:41 +01:00
Tobias Koppers
fccc13aaa0
Merge pull request #12907 from webpack/bugfix/assign-library-runtime-chunk
...
fix problem with strict mode for assigning libraries with separate runtime chunk
2021-03-16 20:54:25 +01:00
Tobias Koppers
a93eb10903
fix problem with strict mode for assigning libraries with separate runtime chunk
2021-03-16 19:53:13 +01:00
Ali Al Amine
8dcaade8fc
Fix #12908
2021-03-16 20:19:10 +02:00
Tobias Koppers
7dc945f147
allow to place runtime outside of the output path
2021-03-16 13:07:58 +01:00
Tobias Koppers
2abcede6cd
Merge pull request #12852 from chenxsan/test/test-library-type-assign
2021-03-15 20:33:14 +01:00
Tobias Koppers
781fad2d10
Merge pull request #12874 from malectro/dev
2021-03-15 20:32:38 +01:00
Tobias Koppers
99ab8bc7a9
Merge pull request #12610 from anshumanv/12577
...
fix: prefix public path in importScripts
2021-03-15 17:02:41 +01:00
Tobias Koppers
53e6f98ff6
Merge pull request #12887 from webpack/issue-12885
...
fix: es5
2021-03-15 17:02:03 +01:00
Tobias Koppers
d5992633e6
offer a hook to opt-out of strict mode
2021-03-15 16:38:50 +01:00
Tobias Koppers
5af7e54e7d
Merge pull request #12896 from webpack/feature/define-cache-version
...
DefinePlugin takes care of module invalidation when values have changed
2021-03-15 16:14:35 +01:00
Anshuman Verma
eb63cb78b6
fix: prefix public path in importScripts
2021-03-15 16:08:59 +01:00
Tobias Koppers
7f4ce2cf1a
add expressionFunction helper to choose shortest variant when return value is not relevant
2021-03-15 15:40:30 +01:00
Tobias Koppers
103a51468b
DefinePlugin takes care of module invalidation when values have changed
...
The options of the DefinePlugin no longer have to be covered by build dependencies
2021-03-15 15:19:42 +01:00
evilebottnawi
448ca3d951
fix: code
2021-03-15 14:42:55 +03:00
evilebottnawi
139324cbba
test: update snapshots
2021-03-15 14:42:55 +03:00
evilebottnawi
ea9b9917cd
fix: add `;`
2021-03-15 14:42:55 +03:00
evilebottnawi
c223b65e7a
fix: code
2021-03-15 14:42:55 +03:00
evilebottnawi
57eaf7f23c
refactor: code
2021-03-15 14:42:55 +03:00