Tobias Koppers
4786a7ec61
Merge pull request #11191 from webpack/bugfix/asset-hash
...
use content hashes for assets
2020-07-20 10:18:54 +02:00
Tobias Koppers
36cf3039aa
use content hashes for assets
2020-07-20 08:45:27 +02:00
Tobias Koppers
f65adade96
deprecate optimization.noEmitOnErrors in favor of optimization.emitOnErrors
2020-07-20 08:40:31 +02:00
Tobias Koppers
8c00696660
Merge pull request #11177 from webpack/bugfix/watching-invalid
...
call invalid hook also when manually invalidating watching
2020-07-16 08:13:11 +02:00
Tobias Koppers
5a2fa99055
call invalid hook also when manually invalidating watching
2020-07-15 19:34:23 +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
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
6014ca7e86
splitChunks improvements
...
add new splitChunks.enforceSizeThreshold option
enforces splitting on certain size (ignoring maxRequests and minRemainingSize)
reduce default for splitChunks.minSize to 20k
set default for splitChunks.enforceSizeThreshold to 50k
fix bug where sorting didn't work for minSize: 0
2020-07-13 10:12:17 +02:00
Tobias Koppers
3d36f75f88
Merge pull request #11143 from vankop/add-roots
...
add roots option
2020-07-09 13:15:30 +02:00
Tobias Koppers
49e5ce2812
Merge pull request #11131 from webpack/bugfix/ignore-linking-errors-on-error
...
ignore linking errors when the imported module has errors
2020-07-09 10:22:35 +02:00
Tobias Koppers
f874ac290d
Merge pull request #11140 from webpack/bugfix/avoid-modify-hash
...
fix HMR bugs with hashing
2020-07-09 10:06:49 +02:00
Tobias Koppers
71ec6adf3b
Improve description in config schema
2020-07-09 09:41:31 +02:00
Tobias Koppers
555db6a547
remove Compilation.modifyHash
...
refactor HMR Plugin to better support module hashes
fixes bug that causes empty HMR manifest
remove HotModuleReplacementPlugin multiStep
2020-07-09 09:02:38 +02:00
Ivan Kopeykin
38779b85ee
add roots option
2020-07-09 00:17:57 +03:00
Tobias Koppers
392ff5cf76
Merge pull request #11136 from webpack/improvement/exports-type-unknown
...
Avoid tracking/printing detailed usage info for modules without exportsType
2020-07-08 18:25:34 +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
5068909499
Avoid tracking/printing detailed usage info for modules without exportsType
...
Make ContextModule a static default exporting module
fix provided exports info for ExternalModule
2020-07-08 11:07:03 +02:00
Tobias Koppers
78920aa689
ignore linking errors when the imported module has errors
2020-07-07 17:54:15 +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
e8ed3d8d3b
Merge pull request #11117 from vankop/add-export-as-from
...
add export * as namespace from "module"
2020-07-06 22:31:07 +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
7bbc2aa3ce
split HttpUrlPlugin into two plugins for http and https
2020-07-06 17:45:45 +02:00
Tobias Koppers
85edc5c7fa
improve code design of ImportMetaPlugin
...
add missing evaluation for compare operations
refactor duplicate code
add unhandledExpressionMemberChain hook to parser
add evaluateToNumber and types to JavascriptParserHelpers
add undefined to BasicEvaluatedExpression
add import.meta.webpack as webpack major version
2020-07-06 17:13:09 +02:00
Tobias Koppers
7442a211b9
add support for resource fragments
2020-07-03 17:03:15 +02:00
Tobias Koppers
7dad1c1c30
refactor scheme handling into plugins
2020-07-03 17:01:02 +02:00
Ivan Kopeykin
85715ba2c9
add export * as namespace from "module"
2020-07-03 13:12:58 +03:00
Tobias Koppers
115aa13577
improve compat for MainTemplate jsonp hooks
...
improve compat for MainTemplate runtime hooks
fixes #10826
2020-07-03 09:44:55 +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
Tobias Koppers
204e104bc2
Merge pull request #11084 from smelukov/rename-json-script-type
...
rename jsonScriptType to scriptType
2020-06-29 14:34:21 +02:00
Tobias Koppers
9f28e37969
allow runtimeChunk with node targets
...
also fixes a incorrect relative path
2020-06-29 11:46:16 +02:00
Ivan Kopeykin
89abab2631
add absolute url specifier support
2020-06-26 22:16:27 +03:00
Tobias Koppers
b30b9681fa
opt-out from unsafe caching when providing shared module as side-effect
2020-06-24 23:06:36 +02:00
Sergey Melyukov
139da61b5f
rename jsonScriptType to scriptType
2020-06-24 23:05:21 +03:00
Ivan Kopeykin
de18533373
update import.meta
...
- add evaluation to import.meta and import.meta.url
- bare import.meta is disallowed
2020-06-24 22:47:43 +03:00
Tobias Koppers
ba9027ac1a
Merge pull request #10719 from goganchic/feature/data-uri
...
Implement Data URI imports
2020-06-24 11:08:44 +02:00
Ivan Kopeykin
1beb4e5707
support import.meta
2020-06-23 01:03:52 +03:00
Tobias Koppers
83495dc3aa
update typings
2020-06-18 00:26:35 +02:00
Tobias Koppers
0397701d85
improve types, moved byDependency logic into ResolverFactory
2020-06-17 22:17:14 +02:00
Ivan Kopeykin
bfd447be01
upgrade tapable
2020-06-17 16:53:14 +03:00
Ivan Kopeykin
8174145782
upgrade enhanced-resolve
2020-06-17 14:22:37 +03:00
Ivan Kopeykin
e58c64912b
fix lint
2020-06-16 22:09:07 +03:00
Ivan Kopeykin
9061a5ca94
add RESOLVE_OPTIONS to resolveMatchedConfigs
2020-06-16 21:20:46 +03:00
Ivan Kopeykin
198e51a485
Merge branch 'master' into exports-field
...
# Conflicts:
# lib/dependencies/ImportDependency.js
# lib/sharing/ConsumeSharedPlugin.js
# lib/sharing/ProvideSharedPlugin.js
# types.d.ts
2020-06-16 21:16:41 +03:00
Tobias Koppers
c00fec3aa7
Merge pull request #10964 from pushkar100/feature/lazy-load-named-exports
...
Lazy loading only required exports from dynamic import()
2020-06-16 15:04:06 +02:00
Tobias Koppers
d16f581d79
Merge pull request #11003 from resistdesign/patch-1
...
chore(Compilation EntryData includeDependencies):
2020-06-16 15:03:28 +02:00
Tobias Koppers
ad56d8abb1
improve handling of relative/absolute requests in the ProvideSharedPlugin
2020-06-15 16:20:34 +02:00
Ryan Graff
9160a0d3fd
chore(Compilation EntryData includeDependencies):
...
Update typings.
2020-06-13 18:05:35 -04:00