Tobias Koppers
48010fb955
replace output.ecmaVersion with output.environment and more detailed flags
2020-09-10 11:12:28 +02:00
Tobias Koppers
041dfe15c7
Merge pull request #11440 from webpack/bugfix/hmr-incorrect-dispose
...
fix incorrect disposing of modules during HMR
2020-09-09 03:50:42 +02:00
Tobias Koppers
12997f0a6c
fix incorrect disposing of modules during HMR
2020-09-08 10:25:41 +02:00
Tobias Koppers
ed06a7f83a
new Worker() support
...
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers
a778c17fd3
better force handling
2020-09-02 14:10:08 +02:00
Tobias Koppers
be021e00f4
add grouping of modules
2020-09-01 18:31:22 +02:00
Tobias Koppers
3ea9400505
add grouping of assets
2020-09-01 18:16:43 +02:00
Tobias Koppers
312e2ab587
Merge branch 'master' into feature/asset-url
2020-08-28 20:54:50 +02:00
Tobias Koppers
dff76973e4
type fixes
2020-08-24 18:35:28 +02:00
Tobias Koppers
a4a5a76703
make original source in CachedSource lazy
2020-08-24 18:16:56 +02:00
Tobias Koppers
76a6e9b90f
create a class for Snapshot for faster access and smaller serialization
2020-08-24 18:16:53 +02:00
Tobias Koppers
5b0379dfca
LazySet do not check for duplicate LazySets in addAll
2020-08-24 18:16:52 +02:00
Tobias Koppers
71cf7f4dc8
add support for reexporting in CommonJS
...
and necessary refactoring + fixes for that
2020-08-17 21:32:47 +02:00
Ivan Kopeykin
4157166263
Merge branch 'master' into feature/asset-url
...
# Conflicts:
# test/Defaults.unittest.js
2020-08-16 15:47:05 +03:00
Tobias Koppers
0b66fdacdf
StringXor bugfix
2020-08-14 18:40:57 +02:00
Tobias Koppers
a0e79afb07
StringXor performance improvement
2020-08-14 16:19:12 +02:00
Tobias Koppers
41a8e2ea48
use xor to hash modules instead of sorting them
2020-08-14 10:54:24 +02:00
Tobias Koppers
50172039bd
Merge pull request #11315 from webpack/refactor/reexport-tracking
...
track reexport target during providedExports analysis
2020-08-13 17:18:24 +02:00
Tobias Koppers
163e7674a0
track the target binding of harmony reexports
...
display target binding in module info header
check conflicting star exports (fixes #7562 ) when statically known
2020-08-11 20:13:01 +02:00
chenxsan
94e47d5721
fix ExternalModule bug
2020-08-11 20:42:32 +08:00
Ivan Kopeykin
8cf511dc94
Merge branch 'master' into chore/todos-to-defined-types
2020-08-06 22:48:20 +03:00
Ivan Kopeykin
6a7978f1bc
support persistent cache
2020-08-06 20:00:22 +03:00
Tobias Koppers
b951d08930
Merge pull request #11271 from mpeyper/bugfix/versionlt-runtime-issue
...
fix: minified versionLt did not match the original function
2020-08-05 09:32:18 +02:00
Tobias Koppers
6e71413a3e
generate runtime code with special-lint-fix
...
verify runtime code in CI
2020-08-05 08:45:51 +02:00
Michael Peyper
f3688dfb57
fix: minified versionLt did not match the original function
2020-08-04 20:08:05 +10:00
Tobias Koppers
305dab3ae1
improve and fix backtracing to root folder from nested directories
2020-08-04 09:36:49 +02:00
Ivan Kopeykin
4fc44a3398
add more types
2020-08-02 23:47:54 +03:00
Tobias Koppers
a4f17775b1
fix dependOn behavior with runtimes, fix runtime passing by entry
2020-07-30 11:18:09 +02:00
Tobias Koppers
77cdce7393
remove unused methods, improve code coverage
2020-07-29 11:14:26 +02:00
Tobias Koppers
3465b00a62
performance, cleanup
2020-07-28 22:05:13 +02:00
Tobias Koppers
6b4ce6e011
improve HMR plugin with multiple runtimes
2020-07-28 14:06:04 +02:00
Tobias Koppers
e16bdfda6c
refactor used exports analysis, hashing, code generation, optimizations
...
to keep track of runtimes, used exports depending on runtime
modules can have different hashes and generated code depending on runtime
chunks are only considered as equal for MergeDuplicateChunks and SplitChunks when exports used in contained modules are equal
added `optimization.usedExports: "global"` to opt-out from used exports analysis per runtime
added `splitChunks.usedExports` and `splitChunks.cacheGroups[x].usedExports` to enable/disable used exports comparing for modules
`splitChunks.usedExports` defaults to `true` in production
2020-07-27 22:40:44 +02:00
Tobias Koppers
b1eac4ab29
Use computed resolve options in context alternatives
...
deprecate ContextModuleFactory.hooks.alternatives because we need the options in the hook
2020-07-15 14:13:35 +02:00
Tobias Koppers
4e32a3f3de
performance improvements
...
only add `browser` condition on web targets
default options should not share objects
check for "..." from reverse as this is more likly
2020-07-15 14:13:33 +02:00
Tobias Koppers
0d857e3942
Improve cleverMerge to respect byDependency order correctly
...
Allow to use "..." in `option.resolve` too
Add "..." to schema when needed
Apply dependency specific mainFields, aliasFields and conditionNames only
for cjs and esm dependencies or when none is specified for backward-compat.
2020-07-15 14:13:31 +02:00
Tobias Koppers
fd9b399ae9
Create Cache facade to make it easier to use
...
add missing serializers for classes used in test suite
2020-07-15 11:14:28 +02:00
Tobias Koppers
6c425546df
Avoid using real watchers in MultiWatching test case
...
add watchFileSystem to MultiCompiler and typings
2020-07-08 11:17:00 +02:00
Tobias Koppers
e27eb830f7
Merge pull request #11105 from webpack/mf/semver
...
add full Semantic Versioning for Shared Modules
2020-07-06 23:18:00 +02:00
Tobias Koppers
d9435e0e3e
Merge pull request #11075 from vankop/import-meta
...
add import.meta support
2020-07-06 20:19:23 +02:00
Tobias Koppers
1bb02df61e
Merge pull request #11095 from vankop/support-url-requests
...
Support url requests
2020-07-06 20:03:52 +02:00
Tobias Koppers
5f4c4662dd
rename parsePathQueryFragment to parseResource and add caching
2020-07-06 17:39:52 +02:00
Tobias Koppers
7dad1c1c30
refactor scheme handling into plugins
2020-07-03 17:01:02 +02:00
Tobias Koppers
a11922fea3
improve windows absolute path detection
2020-07-03 10:18:41 +02:00
Tobias Koppers
92472698d7
fix edge case of string with number compare
2020-07-02 16:10:04 +02:00
Tobias Koppers
67acac367b
fix logic handling build version
...
build version should be ignored in matching ranges
2020-07-02 16:10:01 +02:00
Tobias Koppers
2689d026b1
refactor semver logic to be internal
...
share scope uses string version instead of parsed one
2020-07-02 16:09:57 +02:00
Tobias Koppers
7ef92097b4
Size optimization
2020-07-02 16:09:48 +02:00
Tobias Koppers
33945ad2b3
fix matching of string version in prerelease ranges
...
versions are in a contiguous range of:
0, 1, ..., 9, 10, 11, ..., 100, ..., a, b, c, ..., alpha, ..., beta, ..., etc, ...
2020-07-02 16:09:48 +02:00
Tobias Koppers
3fcd5f9bc5
add full Semantic Versioning for Shared Modules
...
change storage format in the share scope
choose shared module deterministic from the same origin
remove array syntax from version and requiredVersion in schema
2020-07-02 16:09:39 +02:00
Tobias Koppers
23f922bed3
make bundles with Module Federation more stable
2020-07-02 15:28:17 +02:00