Tobias Koppers
db36afea4d
Merge pull request #11333 from chenxsan/feature/output-charset
...
add output.charset option
2020-08-19 15:01:06 +02:00
Tobias Koppers
b929d4cdce
calculate real content hash for assets after asset processing
2020-08-18 22:07:24 +02:00
chenxsan
509349f7d1
fix lint
2020-08-17 21:44:32 +08:00
chenxsan
2611eb8ccc
update schemas
2020-08-17 20:34:23 +08:00
chenxsan
fd19fa90b8
add output.charset option
2020-08-17 20:25:27 +08:00
Ivan Kopeykin
4157166263
Merge branch 'master' into feature/asset-url
...
# Conflicts:
# test/Defaults.unittest.js
2020-08-16 15:47:05 +03:00
Ivan Kopeykin
f659974405
add output.baseURI option, add test case for it
2020-08-16 12:34:40 +03:00
Tobias Koppers
d95fa3da6d
need to check dependency when applying loaders for normal imports
2020-08-08 11:29:09 +02:00
Ivan Kopeykin
ddc83b0d70
feat: url assets
2020-08-05 00:55:38 +03:00
Tobias Koppers
1273b9eb96
Merge pull request #11267 from webpack/experiments/import-async
...
enable experiments.importAsync by default
2020-08-04 16:00:00 +02:00
Tobias Koppers
dfc8e35f2d
enable experiments.importAsync by default
...
remove experiments.importAwait
2020-08-04 00:47:08 +02:00
Nitin Kumar
ddaa68e198
fix: optimization.emitOnErrors description
2020-08-03 15:11:54 +05:30
Tobias Koppers
d0ef2ce43f
display assets in stats in a list instead of a table
...
group related assets below the parent asset
2020-08-02 08:07:32 +02:00
Tobias Koppers
4c3216efad
add size optimization mode to `optimization.mangleExports`
2020-07-31 12:54:38 +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
b3466e996b
add entry[x].runtime option to allow runtime chunk per entry
2020-07-27 22:40:40 +02:00
Tobias Koppers
1179a3eaab
Merge pull request #11188 from webpack/feature/mjs
...
improve compatibly with node.js ESM
2020-07-20 12:18:21 +02:00
Tobias Koppers
f65adade96
deprecate optimization.noEmitOnErrors in favor of optimization.emitOnErrors
2020-07-20 08:40:31 +02:00
Tobias Koppers
205bbb4c0d
improve compatibly with node.js ESM
...
improve experiments.mjs to be more compatibly with node.js ESM
- add support for `type: "module"` in package.json
- add support for `*.cjs`
- enable strict ESM for data uris with `text/javascript` or `application/javascript`
- disallow not fully specified requests in imports `*.mjs` or `type: "module"`
add `descriptionData` rule condition to match package.json info
fix passing resolveOptions along context modules
2020-07-17 13:58:29 +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
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
71ec6adf3b
Improve description in config schema
2020-07-09 09:41:31 +02:00
Ivan Kopeykin
38779b85ee
add roots option
2020-07-09 00:17:57 +03: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
1bb02df61e
Merge pull request #11095 from vankop/support-url-requests
...
Support url requests
2020-07-06 20:03:52 +02:00
Tobias Koppers
7442a211b9
add support for resource fragments
2020-07-03 17:03:15 +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
Sergey Melyukov
139da61b5f
rename jsonScriptType to scriptType
2020-06-24 23:05:21 +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
Tobias Koppers
0397701d85
improve types, moved byDependency logic into ResolverFactory
2020-06-17 22:17:14 +02: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
ad56d8abb1
improve handling of relative/absolute requests in the ProvideSharedPlugin
2020-06-15 16:20:34 +02:00
Tobias Koppers
1c42f71250
allow to provide and consume multiple versions of shared modules
2020-06-13 14:45:37 +02:00
Tobias Koppers
42e14d6a42
provide shared based on used modules and used version
2020-06-10 16:30:08 +02:00
Ivan Kopeykin
2f7510abd2
add restrictions option
2020-06-08 23:54:59 +03:00
goganchic
0ab91b7664
fix mimetype type description
2020-06-05 15:32:43 +03:00
goganchic
4b59a302a2
add mimetype rule
2020-06-05 15:15:11 +03:00
Tobias Koppers
3df380e2d7
add script external
...
change defaults of ModuleFederationPlugin to var library and script remoteType
allow using empty entry in config
2020-06-04 03:18:07 +02:00
Ivan Kopeykin
57bd6ed348
Merge branch 'master' into exports-field
...
# Conflicts:
# lib/container/OverridablesPlugin.js
2020-06-01 15:14:47 +03:00
Ivan Kopeykin
d4b1819749
add ability to set resolve options per dependency category
...
- byDependency option
- create resolver per dependency category
2020-05-28 02:30:29 +03:00
Ivan Kopeykin
52f3d60d44
fix typo
2020-05-27 22:47:37 +03:00
Tobias Koppers
4b61de7b14
strictVersion defaults to false for singleton modules
2020-05-27 15:16:44 +02:00
Tobias Koppers
6f5d229661
add singleton shared modules
2020-05-27 15:10:57 +02:00
Tobias Koppers
bb30ea2216
automatically determine version of shared module from package.json
2020-05-27 11:53:59 +02:00
Tobias Koppers
e78a76b2e0
remove all overrides and overridables related code
2020-05-26 17:26:28 +02:00
Tobias Koppers
32217e95fb
add missing descriptions
2020-05-26 17:17:44 +02:00
Tobias Koppers
edf03440ba
add SharePlugin
...
let ModuleFederationPlugin use the SharePlugin
update container test cases to new behavior
2020-05-26 17:11:21 +02:00
Tobias Koppers
2fc44c2343
add share plugin
2020-05-26 00:46:09 +02:00
Tobias Koppers
1b3246361b
add consume shared module plugin
2020-05-25 23:14:19 +02:00
Ivan Kopeykin
bf3633ee1b
add exportsFields and conditionNames options
2020-05-25 14:44:50 +03:00
Tobias Koppers
83cdba368f
add provide shared module plugin
2020-05-25 10:50:37 +02:00
Tobias Koppers
a468cbbd2e
add provide shared module plugin
2020-05-23 16:08:51 +02:00
Tobias Koppers
a66290a15f
add support for async externals
...
add `promise` external
add `import` external (uses import())
add `output.importFunctionName` option to change the `import()` function name
allow for inline external type when using arrays
fix some typings
fix namespace object behavior when using system external and accessing nested property
fix interop behavior for async dynamic modules
2020-05-19 17:25:43 +02:00
Tobias Koppers
4f194f0748
advanced configs for container plugins
...
refactor options parsing to allow advanced config options
automatic scoping has been removed and a scope method is offered instead
move shared schema definitions into a shared schema to allow to sync them
allow to pass multiple modules to a single exposed name
they are all executed and the last one is exported
allow to pass multiple container locations to remotes
they are tried in order, falling back to the next one when one fails
allow remotes to be promises as preparation of async externals
2020-05-14 15:50:35 +02:00
Tobias Koppers
020cedf383
remove weird types
...
remove SKIP_OVER_NAME
update tooling for fixed "to not edit" comments
2020-05-12 15:58:43 +02:00
Tobias Koppers
15eefadcea
Merge pull request #10838 from webpack/dev-1
...
Merge Module Federation into webpack 5 beta
2020-05-05 23:57:00 +02:00
chenxsan
0a53c7ed43
fix typos
2020-05-02 19:10:55 +08:00
Tobias Koppers
5ad346ec98
validate options for container-related plugins
...
expose options types via declarations
hide private properties in plugins
move container-related schemas into container folder
2020-04-30 18:07:17 +02:00
Tobias Koppers
5887c20ab0
Merge tag 'v5.0.0-beta.15' into dev-1
...
5.0.0-beta.15
2020-04-22 07:37:49 +02:00
Tobias Koppers
c7a962604f
fix splitChunks typings
2020-04-21 09:25:58 +02:00
Tobias Koppers
cbb6ee6809
test more test cases for typings and fix typing bug
2020-04-21 09:25:55 +02:00
Tobias Koppers
6178aea763
improve typings and test them in CI
...
lazy load all webpack exports
2020-04-21 09:25:43 +02:00
Tobias Koppers
3f9e6d5ec6
move tooling into separate repo, add type generation and test types
2020-04-21 09:25:38 +02:00
Tobias Koppers
e982708a51
fixes for stricter linting
2020-04-14 14:51:08 +02:00
Tobias Koppers
d5c31ab864
Merge branch 'master' into dev-1
2020-04-14 12:48:38 +02:00
Tobias Koppers
c754951781
Merge pull request #10701 from strayiker/bugfix/10699
...
Fix DllReferencePlugin schema
2020-04-14 10:59:30 +02:00
Kirill Mesnyankin
e28bf3ae13
Fix DllReferencePlugin schema
2020-04-12 01:28:49 +03:00
Nitin Kumar
47436bb784
fix: update WebpackOptions.d.ts declaration
2020-04-10 08:40:14 +05:30
Tobias Koppers
505183833b
process numbers and booleans before strings
2020-03-26 16:46:58 +01:00
Tobias Koppers
9eb1cd0ac5
test and fix reset flag
...
exclude some deprecated options
improve reference support in compile-to-definitions
stricter schema linting
2020-03-26 11:39:00 +01:00
Tobias Koppers
25f2b4aabf
get rid of helpers in schema
...
handle array + single items by default in cli args
sort schema one/any/allOf array by type
2020-03-26 09:48:21 +01:00
Tobias Koppers
43aed43222
add path handling, dedupe, fix schema issue
2020-03-25 23:38:42 +01:00
Tobias Koppers
575d6aa4f0
Merge branch 'master' into dev-1
2020-03-20 09:58:13 +01:00
Tobias Koppers
b178bfc55a
Fix merge issues
2020-03-18 10:01:20 +01:00
Tobias Koppers
498bb0841b
Merge pull request #10548 from webpack/setup-cspell
...
chore: setup cspell
2020-03-18 09:51:54 +01:00
Ivan Kopeykin
5ba64ab46b
fix( #10552 ) remove test/include/exclude from schema for rule set conditions
2020-03-15 21:21:52 +03:00
evilebottnawi
793977d273
chore: setup cspell
2020-03-13 12:03:17 +03:00
Tobias Koppers
3bc5a9e0b7
Merge branch 'master' into dev-1
2020-03-12 15:44:02 +01:00
Tobias Koppers
df81e14447
little schema fixes
2020-03-10 18:19:49 +01:00
Tobias Koppers
87e6f58786
Ensure strict format of descriptions in schemas
2020-03-10 18:19:33 +01:00
Tobias Koppers
95347e17d5
Merge pull request #10445 from ScriptedAlchemy/container-reference-schema-validation
...
ContainerReferencePlugin options validation
2020-02-26 22:37:26 +01:00
Tobias Koppers
d33c0d144e
use new library system in ContainerPlugin
2020-02-26 21:52:58 +01:00
Tobias Koppers
28e16e8b2b
fix linting
2020-02-26 21:14:49 +01:00
Tobias Koppers
e56d3e3c29
Merge branch 'master' into dev-1
2020-02-26 19:29:29 +01:00
Marais Rossouw
905f2475ff
feat: Adds ContainerPlugin
...
Co-authored-by: Zack Jackson <zackary.l.jackson@gmail.com>
2020-02-26 17:47:15 +01:00
Tobias Koppers
88e6c5e2a7
add library option to entry description
2020-02-26 17:36:16 +01:00
Tobias Koppers
39e407e927
normalize entry option and reduce normalization in EntryOptionPlugin
2020-02-26 17:36:06 +01:00
Tobias Koppers
f1dd328779
refactor library system
2020-02-26 17:35:52 +01:00
Tobias Koppers
e5b51235d7
add externalsType option
...
fix a few edge cases in ExternalModule
2020-02-26 17:22:42 +01:00
Tobias Koppers
bbb16e7af2
add output.uniqueName option
...
It defaults to library name or name from package.json in context
output.uniqueName will be used to generate unique globals for
* output.jsonpFunction
* output.chunkCallbackName
* etc.
2020-02-26 16:32:42 +01:00
Tobias Koppers
03431d1113
from serve property from options
2020-02-18 22:55:31 +01:00
Tobias Koppers
683e867450
Improve schema generation and add more descriptions
2020-02-17 19:12:58 +01:00
Tobias Koppers
6477ca56f8
Split options defaulting in normalization and defaults
...
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +01:00
Sergey Melyukov
c31d941899
dependOn feature
...
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2020-02-11 09:11:00 +01:00
Tobias Koppers
fe3c1d83ba
cleanup
2020-02-10 13:04:28 +01:00
Sergey Melyukov
d6c9953c94
feat: implement entry.filename option
2020-02-07 13:00:25 +03:00
Tobias Koppers
56036a55ad
Merge pull request #10315 from smelukov/pregress-percent-by
...
add percentBy options to ProgressPlugin
2020-02-05 10:09:38 +01:00
Tobias Koppers
152fa4ce97
Merge pull request #10334 from smelukov/entry-descriptor
...
Add entrypoint descriptor with `import` property
2020-02-05 09:34:46 +01:00
Tobias Koppers
18ae77ef56
addEntry takes options object instead of only name
...
remove duplication in EntryOptionsPlugin and DynamicEntryPlugin
lazy require (Dynamic)EntryPlugin in EntryOptionsPlugin
2020-02-04 21:21:42 +01:00
Tobias Koppers
9ae0b6a421
allow stats.ids in schema
2020-02-04 09:19:09 +01:00
Sergey Melyukov
7da1b5e70a
feat: add entrypoint descriptor with `import` property
2020-02-03 17:46:14 +03:00
evilebottnawi
3d25b187c7
fix: the declaration file
2020-01-30 15:32:32 +03:00
Sergey Melyukov
bb4a0e83bc
add percentBy options to ProgressPlugin
2020-01-30 12:53:36 +03:00
Tobias Koppers
f5c3e1b55a
cleanup
2020-01-29 14:48:46 +01:00
Sergey Melyukov
b9c50fa0e4
fix pr comments
2020-01-23 13:27:12 +03:00
Sergey Melyukov
c7dd45b16f
generator.assetFilename -> generator.filename
2020-01-22 16:19:45 +03:00
Sergey Melyukov
68126cf1fc
override filename for asset modules
2020-01-22 16:08:29 +03:00
Tobias Koppers
c636fc62d3
change DllPlugin entryOnly default to true
2020-01-02 17:46:21 +01:00
opl-
22569ce792
fix ResolveOptions.plugins types
...
closes #10073
2019-12-05 19:24:40 +01:00
Tobias Koppers
7abd77d8d4
fix typings for parse option
2019-11-30 21:56:21 +01:00
Sergey Melyukov
fce234f6b9
Merge remote-tracking branch 'upstream/master' into custom-json-parser
2019-11-30 14:17:48 +03:00
Sergey Melyukov
e934792b2a
support custom parser for json modules
2019-11-28 20:12:11 +03:00
Tobias Koppers
0ea81b542c
get rid of some hacks in declarations file
2019-11-28 16:19:18 +01:00
Tobias Koppers
317da38171
move data url condition to parser
...
avoid calling dataUrl function repeated
remove cache to avoid memory leak
include data url decision in module hash
refactor code for readablility
2019-11-26 15:43:58 +01:00
Tobias Koppers
5f8ad0dd67
inline encoder file into AssetGenerator
2019-11-26 15:43:32 +01:00
Sergey Melyukov
d2248fc3fa
refactor: drop `enabled` option, fix test
2019-11-26 15:42:43 +01:00
Sergey Melyukov
bdc61abf82
refactor: merge generators in asset modules
2019-11-26 15:42:37 +01:00
Sergey Melyukov
2d5844c56e
refactor: fix review comments
2019-11-26 15:42:16 +01:00
Sergey Melyukov
491cb57cb4
initial improvement for asset modules
2019-11-26 15:41:48 +01:00
Tobias Koppers
eeafeee32a
Merge pull request #9950 from webpack/dependabot/npm_and_yarn/prettier-1.19.1
...
chore(deps-dev): bump prettier from 1.18.2 to 1.19.1
2019-11-15 12:05:46 +01:00
Tobias Koppers
497b65e122
run prettier
2019-11-15 10:56:01 +01:00
Tobias Koppers
552ca1e3b9
add dependencies to ProgressPlugin
...
include module dependencies in module progress
improve progress percentage calculation
2019-11-12 11:49:48 +01:00
Tobias Koppers
07671f3481
allow to disable compareBeforeEmit
2019-11-04 16:46:45 +01:00
Tobias Koppers
87abd00c6e
remove all options for cache.store expect "pack"
...
these are incomplete and may be readded later
2019-10-21 09:22:38 +02:00
Tobias Koppers
b5e8915b14
Merge pull request #9736 from vankop/limit-chunk-count-plugin
...
fix: Limit chunk count plugin
2019-10-21 09:02:49 +02:00
Tobias Koppers
c1d1e91bd6
allow all possible combinations with pattern
2019-10-18 14:58:50 +02:00
evilebottnawi
c81ffbef42
refactor: `devtool` option
2019-10-18 14:43:21 +02:00
Tobias Koppers
fc04bf15bc
Do not show stack trace of errors in stats by default
...
Add new `stats.errorStack` option to display it anyway.
2019-10-15 07:43:37 +02:00
evilebottnawi
8764f14794
feat: improve DX with `output.ecmaVersion` option
2019-10-11 00:43:27 +03:00
Tobias Koppers
ddc3dae0e6
refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration
...
add code generation phase to Compilation
add `output.iife` options to remove iife wrapper
add `experiments.outputModule` which enabled `output.module`
add `output.module` which sets defaults to `output.iife: false`, `output.libraryTarget: "module"`, `output.jsonpScriptType: "module"`, `terserOptions.module: true`
add `output.module` example
improve runtime requirements needed by ConcatenatedModule
add entry inlining, which inlines entry module code into runtime scope (only when safe)
make whole bundle strict when all modules are strict
2019-10-08 23:59:48 +02:00
Tobias Koppers
ccc53dba5e
update deprecated usage in library-related plugins
2019-10-08 23:46:31 +02:00
Tobias Koppers
69a545c444
Deprecate MainTemplate, ChunkTemplate, ModuleTemplate
...
move logic and hooks to JavascriptModulesPlugin
2019-10-08 23:46:26 +02:00
Ivan Kopeykin
1e4743dea4
Make maxChunks property required. Same as minChunkSize for MinChunkSizePlugin
2019-09-25 16:54:36 +03:00
Ivan Kopeykin
8aa0814709
Remove minChunkSize option from LimitChunkCountPlugin
2019-09-25 16:03:29 +03:00
Tobias Koppers
7bde43f47a
Merge tag 'v4.40.0' into next
...
4.40.0
2019-09-13 11:12:26 +02:00
Tobias Koppers
2e37731988
add analysis for top level symbols, exports and imports
...
integrates the work of Vincent Chan for GSoC 2018
Co-authored-by: Vincent Chan <cdzos97@gmail.com>
2019-09-03 14:18:40 +02:00
Tobias Koppers
e507392094
add output.ecmaVersion options to set emitted code style
...
fix a bug with prefetching initial chunks
InitFragments have get[End]Content methods which get a sourceContext
RuntimeModules have implicit chunk and compilation
changed default to `output.ecmaVersion: 2015`
2019-08-26 21:32:29 +02:00
Tobias Koppers
a2caa36b8e
add immutablePaths next to managedPaths for paths in the yarn cache
...
for PnP support
2019-08-20 14:50:07 +02:00
Tobias Koppers
e5cecdad23
store build dependencies snapshot in pack
...
add snapshot shortcut for package manager managed paths
add cache.managedPaths
2019-08-13 17:02:37 +02:00
Tobias Koppers
856235d76f
track and config build dependencies
2019-08-12 23:07:41 +02:00
Tobias Koppers
f236df1bc9
replace logging in persistent caching with infrastructure logger
...
remove cache.loglevel
2019-08-12 13:41:23 +02:00
evilebottnawi
1952d5c882
fix: `ProfilingPlugin` schema
2019-08-07 21:19:08 +03:00
evilebottnawi
c005384abb
refactor: `WatchIgnorePlugin` options
2019-08-07 19:15:41 +03:00
Tobias Koppers
e5ff9576e2
update typescript dependencies
2019-08-06 09:00:05 +02:00
Tobias Koppers
2e25cd588b
Merge remote-tracking branch 'origin/next' into next
2019-07-24 10:52:04 +02:00
Tobias Koppers
c17dfde7a8
Merge tag 'v4.37.0' into next
...
4.37.0
2019-07-24 10:51:04 +02:00
Tobias Koppers
7b31890a2f
more tests
...
add none as loglevel
2019-07-22 10:35:26 +02:00
Tobias Koppers
d532c4f24f
allow to configure the infrastructure logger
...
rename includeDebugLogging to loggingDebug
rename logToConsole to createConsoleLogger
2019-07-22 09:22:36 +02:00
Yuta Hiroto
8dcda23c36
feat(assetModule): add function type to assetModuleFilename
2019-07-21 23:05:12 +01:00
Tobias Koppers
42a9bfd225
improve logging options and display
...
allow more logging options in schema
collapse groups in non-verbose logging
show number of filtered logging lines
update stats presets for logging
2019-07-19 11:59:48 +02:00
Tobias Koppers
d849160d3f
add logging API
...
Plugins:
Compiler.getInfrastructureLogger(name)
Compilation.getLogger(name)
Loader:
this.getLogger([name])
API equal to console API with these methods:
error, warn, info, log, debug,
time, timeLog, timeEnd,
group, groupCollapsed, groupEnd,
profile, profileEnd,
clear
2019-07-18 17:13:40 +02:00
Tobias Koppers
cac462cba8
Merge pull request #8983 from hiroppy/feature/url
...
add experimental Url support
2019-07-17 23:32:15 +02:00
Tobias Koppers
4fa8addeec
Handle auxiliary files separately from normal files
2019-07-17 23:13:08 +02:00
Tobias Koppers
1d72a05fed
Merge tag 'v4.36.0' into next
...
4.36.0
2019-07-17 16:02:33 +02:00
Tobias Koppers
fb45e38fa4
rename url -> asset
...
remove experimental in favor of experiments.asset
2019-07-17 11:57:04 +02:00
Yuta Hiroto
e474c604e9
feat(url): implement Url ModulePlugin and Generator
2019-07-17 11:45:40 +02:00
ikopeykin
bd7d95bfc1
#9391 resolve discussions, AbstractMethodError
2019-07-15 16:54:49 +03:00
ikopeykin
676c5fe172
fix ResolveOptions.alias
2019-07-12 16:40:52 +03:00
Tobias Koppers
dac9572d0b
add alias to false (ignore) and alias to array
2019-07-08 16:26:30 +02:00
Tobias Koppers
c94073b31c
update enhanced-resolve
2019-07-05 00:45:41 +02:00
Tobias Koppers
98c5f45ea8
hotfix: realResource should match absolute paths
2019-07-01 11:18:09 +02:00
Tobias Koppers
77ebab6712
update watchpack dependency
2019-07-01 09:00:19 +02:00
Tobias Koppers
5523a0a9ac
Merge pull request #9326 from vankop/add-real-resource-parameter
...
add realResource parameter to RuleSetRule
2019-06-30 22:04:39 +02:00
ikopeykin
68f794dbcb
updated snapshots, rerun tooling scripts
2019-06-25 15:33:07 +03:00
ikopeykin
b3202696d0
add realResource parameter to RuleSetRule
2019-06-25 11:31:44 +03:00
Tobias Koppers
fbff5f3c75
allow filename as function at more places
...
fixes #9296
2019-06-18 22:22:09 +02:00
Ryan Drew
054c933950
introduce name truncation config option for SplitChunksPlugin
2019-06-15 14:20:48 -04:00
Tobias Koppers
0505e177f1
add more types and fix/remove TODOs
...
change Chunk.files to Set
remove checkContext from IgnorePlugin
remove external flag from ExternalModule
2019-06-14 10:45:56 +02:00
Tobias Koppers
12a3e7c854
create experiments for importAwait importAsync and (a)syncWebAssembly
2019-06-05 13:32:22 +02:00
Tobias Koppers
09f2fa7273
Merge tag 'v4.33.0' into next
...
4.33.0
2019-06-04 23:23:25 +02:00
Tobias Koppers
ad64a1c2ca
add experiment.mjs config option
2019-06-04 11:33:26 +02:00
OJ Kwon
2ec75c1cdb
feat(target): support electron preload async chunk loading
2019-05-25 18:02:00 -07:00
Tobias Koppers
ad5a6d105b
Merge tag 'v4.32.2' into next
...
4.32.2
2019-05-23 01:19:34 +02:00
Tobias Koppers
a4406ff187
improve validation errors
2019-05-22 13:46:07 +02:00
Tobias Koppers
c5f94f3b6a
don't emit and load JS files for chunks without JS modules
...
allow custom module types in rules
allow configCases to access stats
2019-05-22 13:12:15 +02:00
Tobias Koppers
74d4669d73
rewrite RuleSet to RuleSetCompiler with plugins
...
remove some deprecated features (query, loaders)
add missing condition (realResource)
2019-05-16 11:37:52 +02:00
Tobias Koppers
92f8c36ca2
add `minRemainingSize` option for splitChunks to ensure leftover chunks from splitting have a minimum size
...
defaults to `minSize` of cache group
defaults to global option when not specified
global option defaults to zero in development
2019-05-13 13:10:23 +02:00
Tobias Koppers
7c5f3e758c
Merge pull request #9091 from EugeneHlushko/fix/grammar
...
fix(typo) remove redundant is
2019-05-09 21:57:36 +02:00
Tobias Koppers
e4009e7695
Merge tag 'v4.31.0' into next
...
4.31.0
2019-05-09 21:38:10 +02:00
Tobias Koppers
b66143f706
Merge tag 'v4.30.0' into next
...
4.30.0
2019-05-09 21:34:28 +02:00
Tobias Koppers
b17543e0ba
Merge pull request #8919 from vincentrodriguez/errors-and-warnings-only-preset
...
Preset option for errors & warnings only
2019-05-09 09:52:41 +02:00
EugeneHlushko
f9e877f9c1
fix(typo) remove redundant is
2019-05-04 17:46:38 +03:00
vincentrodriguez
111e864393
support for "errors-warnings" stats preset
2019-03-19 11:24:34 +00:00
vincentrodriguez
579d42b650
update to support "errors-warnings" stats preset option
2019-03-19 10:49:55 +00:00
Joel Denning
97d58d31c0
Adding support for output libraryTarget 'system'. Resolves #8833 .
...
Tests, prettier
Self review
Add comments to System tests.
Adding typescript definition
Guy Bedford's feedback
Self review
Improving code coverage
2019-03-17 08:46:17 -07:00
Tim Neutkens
0c1beb99a8
Run lint
2019-03-11 17:43:25 +01:00
Tim Neutkens
001960600d
Run yarn fix
2019-03-10 17:13:53 +01:00
Tim Neutkens
d02817619f
Allow options.amd to disable AMDPlugin/RequireJsStuffPlugin
...
Introduces a new value `false` for `options.amd` that disables AMD support completely.
This would mainly be useful in for example ncc, Next.js etc where it’s either fully commonjs/esmodules (ncc) or fully esmodules (Next.js)
2019-03-10 16:31:35 +01:00
Tobias Koppers
180f912493
Merge tag 'v4.29.2' into next
...
4.29.2
2019-02-06 15:37:11 +01:00
Tobias Koppers
b25ff237bb
Prettify source code
2019-02-05 10:08:45 +01:00
Tobias Koppers
6fc0b96c9c
add MangleExportsPlugin and options
2019-01-31 11:41:30 +01:00
Tobias Koppers
7c0d845af3
Refactor FileCachePlugin into multiple modules
2019-01-25 19:21:45 +01:00
Tobias Koppers
ba6ac9ae81
add cache.idleTimeoutForInitialStore
...
to allow to force an initial store
2019-01-19 12:07:26 +01:00
Tobias Koppers
e4a5e59570
add cache.idleTimeout option to delay cache storing
2019-01-19 11:47:53 +01:00
Tobias Koppers
aaf85dbd1c
add output.futureEmitAssets
...
add a new version of emitting assets which allows to free memory of Sources with the trade-off of disallowing reading asset content after emitting
It also uses Source.buffer when available.
2019-01-17 13:33:27 +01:00
Tobias Koppers
12436bf53e
add chunkRelations to stats config
2018-12-23 10:04:23 +01:00
Tobias Koppers
5c81bc1ce3
add preset option to schema
2018-12-23 10:04:19 +01:00
Tobias Koppers
1b402bcae1
Merge tag 'v4.28.0' into next
...
4.28.0
2018-12-19 14:05:17 +01:00
Ilya Kantor
a9d465f183
IgnorePlugin: add context argument to checkResource, deprecate checkContext
2018-12-18 11:27:06 +03:00
Tobias Koppers
6c00d3676e
Merge pull request #8484 from webpack/feature/split_chunks_max_size
...
Add maxAsyncSize and maxInitialSize for SplitChunks
2018-12-16 18:44:15 +01:00