Tobias Koppers
dcf3b02aaf
add wasm md4 implementation
...
expose createHash is loader context
2021-10-28 00:07:26 +02:00
Tobias Koppers
5d9cab64d9
Merge pull request #14384 from swissmanu/fix-normalmodule-beforeLoaders-hook
...
Initialize buildDependencies after beforeLoaders Hook
2021-10-22 09:56:24 +02:00
Manuel Alabor
8e53818939
Initialize buildDependencies after beforeLoaders Hook
2021-10-21 13:25:45 +02:00
Tobias Koppers
8f341ebaf8
add hooks during module build
2021-10-18 23:35:55 +02:00
Tobias Koppers
877cb13806
fix missing restore of resourceResolveData
...
fixes #14176
2021-10-18 09:25:00 +02:00
Tobias Koppers
508e8d50f2
expand readResource hook to cover normal file reading
2021-10-07 10:28:44 +02:00
Tobias Koppers
c76be4d738
make some things context-independent
...
* ConcatenatedModule.identifier()
* NormalModule source urls
fixes #14014
2021-08-19 14:57:39 +02:00
Tobias Koppers
720aa43bd3
handle hashbangs in javascript files
...
fixes https://github.com/vercel/next.js/issues/27806
2021-08-10 11:34:06 +02:00
Tobias Koppers
9bf6797416
fix resolving context for redirects
2021-08-05 21:10:39 +02:00
Tobias Koppers
b6609a4f6b
add `experiments.buildHttp`
...
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02:00
Sven Sauleau
6c50c81350
Revert "Revert "Merge pull request #12278 from xtuc/sven/import-assertions""
...
This reverts commit 61946b7c46
.
2021-07-24 23:28:30 +01:00
Tobias Koppers
cdc9efefbe
avoid copying source types and sizes cache from unsafe cache to cached module
...
fixes #13827
avoid pre-computing source types and sizes on cleanup for not-built modules (e. g. from unsafe cache)
improve eror message when asset rendering fails
2021-07-22 09:52:56 +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
7f22e4721f
match on asserts
...
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00
Mark Molinaro
ecf87288d5
perf: Remove Error.captureStackTrace from all WebpackErrors
2021-06-07 07:15:28 +00: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
9e7062f5e6
fixes #13330
2021-05-18 16:54:16 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +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
Tobias Koppers
b71e0ced35
Merge branch 'master' into johnnyreilly/master
2021-04-22 21:52:48 +02:00
Tobias Koppers
7cc40782b7
fix some internal types
2021-04-22 21:48:25 +02:00
John Reilly
40a5eb17fe
tried generic workarouuund
2021-04-20 09:18:59 +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
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
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
87b67a920d
avoid memory leak in v8 ICs after parsing and building modules
2021-03-25 14:52:12 +01:00
shYkiSto
9566a5b732
fix(NormalModule): call super to restore base module cache data
2021-03-23 16:44:03 -07:00
Tobias Koppers
9c648cf90f
improve error handling in beforeLoaders hook
2021-03-22 10:17:17 +01:00
Tobias Koppers
ecb2c18cc6
offer contextify and absoluteify in loader context as utils
2021-03-19 10:59:10 +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
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
Tobias Koppers
18967078cb
cleanup modules after compilation to avoid leaking references when they are cached
2021-03-15 11:23:54 +01:00
Tobias Koppers
d9ef8551c0
fix caching of asset modules
2021-02-04 14:13:44 +01:00
Tobias Koppers
52abb681ff
avoid allocation of warning marker weak set when unused
2021-01-27 13:36:03 +01:00
Tobias Koppers
aaadeda40b
non-fs resources should not end up in fileDependencies
...
fixes #12283
2021-01-07 15:37:19 +01:00
Tobias Koppers
09862aacf8
add warning when invalid dependencies are reported by loaders/plugins
...
add automatic workaround for invalid dependencies
#12340
#12283
2021-01-07 13:31:16 +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
1e2634fdd8
manual side effects flagging should override automatic analysis
2020-12-15 14:40:54 +01:00
Tobias Koppers
c7ea63875c
improve side effects analysis to report imported and reexports symbols as side-effect-free
...
add bailout messages for side effects
2020-11-28 18:10:27 +01:00
Tobias Koppers
cbcd459d19
fix conflicting real imports and type imports
2020-11-26 10:02:59 +01:00
Tobias Koppers
11a7cac537
add useSimpleSourceMap flag to enable/disable OriginalSource for generated code
...
pass reduced options object to Source.map() function
2020-10-26 16:33:38 +01:00
liximomo
8e9614894c
fix: reorder params
2020-10-16 00:21:16 +08:00
Tobias Koppers
18c20d6327
Merge pull request #11582 from webpack/update-schema-utils
...
chore(deps): update `schema-utils`
2020-10-07 10:30:11 +02:00
Tobias Koppers
fcca1d649d
analyse source code for side effects
...
mark the module as side effects free in such cases
allow 3rd state TRANSITIVE_ONLY to be side-effect-free but dependencies should still be included (for mini-css-extract-plugin)
2020-10-06 14:10:29 +02:00
evilebottnawi
8c19efb7fd
chore(deps): update `schema-utils`
2020-10-05 21:58:54 +03:00
Tobias Koppers
9af1d7526b
refactor module concatenation to address discovered bugs/edge cases
2020-09-15 12:36:02 +02:00