Commit Graph

4427 Commits

Author SHA1 Message Date
Tobias Koppers aa83e463c5
Merge pull request #14291 from webpack/feature/eval-bailouzt
avoid bailout of unused eval
2021-09-24 10:13:05 +02:00
Tobias Koppers da8e93af33 use xxhash64 for future defaults 2021-09-23 15:04:22 +02:00
Tobias Koppers 3f142d9cd6 allows to select `xxhash64` as hashFunction 2021-09-23 15:02:02 +02:00
Tobias Koppers 4a8bf4c084 allow to configure all hash functions used
fix default hash function for HttpUriPlugin to sha512
2021-09-23 14:55:13 +02:00
Tobias Koppers 18ee3fb1a9 avoid bailout of unused eval
expose InnerGraph and runtime utils
2021-09-20 17:40:51 +02:00
Ivan Kopeykin 15393ca459 more complex test case 2021-09-20 15:54:09 +03:00
Ivan Kopeykin 7148a0af22 fix test case 2021-09-16 14:35:39 +03:00
Ivan Kopeykin 18ed9cb34b fix logic expression evaluation 2021-09-16 13:15:01 +03:00
Ivan Kopeykin 5592f6616f add experiments.futureDefaults
futureDefaults applies next major defaults
adds node.global=warn
node.__filename=warn-mock
node.__dirname=warn-mock
2021-09-14 11:29:57 +03:00
Tobias Koppers 32a9b205aa improve test stability 2021-09-08 18:35:00 +02:00
Tobias Koppers f4400efb4b
Merge pull request #14131 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-5.2.3
chore(deps): bump terser-webpack-plugin from 5.1.4 to 5.2.3
2021-09-05 09:25:44 +02:00
Tobias Koppers d05648611a
Merge pull request #14134 from webpack/bugfix/webpack-extension
match resource should not include special `.webpack[...]` extension
2021-09-03 17:06:01 +02:00
Tobias Koppers a513b1381a
Merge pull request #14118 from webpack/bugfix/multiple-module-externals
fix null module externals
2021-09-03 16:46:55 +02:00
Tobias Koppers 34fd17636e update snapshot 2021-09-03 16:21:47 +02:00
Tobias Koppers 765101bded match resource should not include special `.webpack[...]` extension
`.webpack[]` should not be used for resource path
2021-09-03 16:17:41 +02:00
Tobias Koppers 4e8a621bfa fix null module externals 2021-09-03 13:47:09 +02:00
Tobias Koppers 45f657025f add mini-css import module test case 2021-09-03 12:12:14 +02:00
Tobias Koppers 60408e1136 add importModule to loader context by default
always enable experiments.executeModule and remove it
2021-09-02 16:27:39 +02:00
Tobias Koppers b16568a253 upgrade filename runtime module to full hash module when referencing a full hash chunk 2021-09-02 10:29:59 +02:00
Tobias Koppers 179d2e00fe
Merge pull request #14095 from webpack/bugfix/close-watching-when-closing-compiler
close watching when closing compiler
2021-08-30 16:33:12 +02:00
Tobias Koppers 05c1861684 close watching when closing compiler
do not shutdown cache when closing only the watching
2021-08-30 15:01:24 +02:00
Tobias Koppers ae711acba7 copy/read exports from imported async modules later once they are awaited 2021-08-30 14:26:34 +02:00
Tobias Koppers 67e17b232b Merge branch 'main' into aleen42/main 2021-08-30 12:28:34 +02:00
Tobias Koppers e73864c036
Merge pull request #14031 from webpack/bugfix/concatenated-contextify 2021-08-19 16:06:56 +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 5239f26427
Merge pull request #14030 from webpack/bugfix/crash-fsinfo
fix crash when trying to snapshot not existing directory
2021-08-19 14:05:41 +02:00
Tobias Koppers ff69a4a631
Merge pull request #13997 from yujunjung/main
fix: exporting async module as library `type:  "module"`
2021-08-19 13:20:38 +02:00
Tobias Koppers 0088d5565c fix crash when trying to snapshot not existing directory 2021-08-19 13:17:18 +02:00
Tobias Koppers 9577b88d4b track and resolve symlinks when reading context timestamps/hashes
refactor context snapshotting for abstraction purposes
add (symlink) unit test cases for FileSystemInfo snapshotting
2021-08-18 14:50:23 +02:00
Yujun Jung f6890211ca Revert "increase timeout for ProgressPlugin test"
This reverts commit 2bad4c7259.
2021-08-16 21:06:50 +09:00
Tobias Koppers 08ea1464d5 keep state of chunk loading during hmr updates
ignore duplicate chunk loads
2021-08-16 13:50:43 +02:00
Yujun Jung 2bad4c7259 increase timeout for ProgressPlugin test 2021-08-16 17:00:35 +09:00
Yujun Jung f52adf35b6 remove mistake 2021-08-16 14:21:51 +09:00
Yujun Jung 4542baedbe Merge branch 'main' of https://github.com/yujunjung/webpack 2021-08-16 14:11:38 +09:00
Yujun Jung 77eaad8a17 add test for webpack#13995 2021-08-16 14:07:24 +09:00
Yujun Jung 253f009072 add test for #13995 2021-08-16 13:33:58 +09:00
Aleen dc1fbaf9de test: update corresponding snapshot 2021-08-11 16:01:16 +08:00
Tobias Koppers 1f0bdf7220
Merge pull request #13961 from webpack/feature/hashbang
handle hashbangs in javascript files
2021-08-10 17:32:43 +02:00
Tobias Koppers abe5005aec disable cache compression by default
it has a negative performance impact in many cases
2021-08-10 13:04:43 +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
chenxsan f312a71c1f update snapshot 2021-08-07 18:03:02 +08:00
Tobias Koppers c6856e2204 optional modules will not fail the build when bail is set
fixes #11594
2021-08-06 12:09:55 +02:00
Tobias Koppers 30ebedd4dd fix handling of new URL() in remote resources 2021-08-05 17:37:37 +02:00
Tobias Koppers e3b8c399c6 omit resolved property in lockfiles when equal to key 2021-08-05 16:15:29 +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
Tobias Koppers 747c20b9c0
Merge pull request #13815 from xtuc/sven/bump-acorn-import-assertions-1.7.2
bump acorn-import-assertions@1.7.3 and parse import assertions again
2021-08-02 14:35:14 +02:00
Tobias Koppers 5fc7008c3e update webpack-sources to 3.1.1 2021-07-29 15:11:51 +02:00
Tobias Koppers c3a0145b49 update to webpack-sources version 3
improves performance
2021-07-27 13:00:40 +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
Jan Potoms d9c09ee7f2 Fix generator publicPath behavior when empty string 2021-07-24 17:02:09 +02:00