alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
Nitin Kumar
e7ae10a4dc
feat(SourceMapDevToolPlugin): support `append` option as a function
2023-05-24 11:19:08 +05:30
Sean Larkin
5e31761419
reset state for stateful regexp
2022-04-26 13:46:26 -07:00
Sean Larkin
e7c55831de
hoist regexp literals in SourceMapDerToolPlugin
2022-04-26 09:34:51 -07: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
c76be4d738
make some things context-independent
...
* ConcatenatedModule.identifier()
* NormalModule source urls
fixes #14014
2021-08-19 14:57:39 +02:00
du
c2882c1d41
fix: sourceMapDevToolPlugin options test add cjs
2021-07-09 02:04:23 +08:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +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
Tobias Koppers
e21b1d46fe
precompile schemas for improved startup performance
2021-04-16 16:02:58 +02:00
Tobias Koppers
8dcb90dbbd
avoid making the package.json in context a build dependency
2021-03-06 16:36:14 +01:00
Tobias Koppers
ccfe01aab4
allow to process assets that are added during processAssets
...
fix and add processAsset stages
allow to hook into RealContentHashPlugin for custom hashing
2020-11-26 14:00:21 +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
evilebottnawi
8c19efb7fd
chore(deps): update `schema-utils`
2020-10-05 21:58:54 +03:00
Tobias Koppers
b929d4cdce
calculate real content hash for assets after asset processing
2020-08-18 22:07:24 +02:00
Tobias Koppers
f5bd6216aa
add related info to asset info
2020-08-02 07:36:05 +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
49752a06a8
cleanup asset processing
...
deprecate writing to compilation.assets after sealing.
merge all asset processing into single hook with stages.
Deprecate additionalChunkAssets and optimizeChunkAssets.
Redirect additionalAssets, optimizeAssets to processAssets for backward-compat.
Remove finishAssets hook without deprecation as it was not in v4.
2020-05-22 10:39:21 +02:00
Tobias Koppers
b9c50fdb09
fix jsdoc documentations
2020-04-28 19:42:58 +02:00
Tobias Koppers
8509a225e9
use bindContextCache more often
2020-04-17 10:54:27 +02:00
evilebottnawi
dafa4cd69a
chore: setup cspell
2020-03-12 19:51:26 +03:00
Yaroslav Peteychuk
c48eaeebf1
Minor fix: redundant default parameters
2020-01-14 14:14:37 +02:00
Tobias Koppers
586d5abc2c
improve progress reporting
2019-11-12 16:11:13 +01:00
Tobias Koppers
1a3b391352
compute asset hash lazily to avoid hash computation when memory cache is used
...
Cache accepts null as break condition when etag mismatches
MemoryCachePlugin caches cache mismatches
2019-11-12 16:07:50 +01:00
Tobias Koppers
1d9ae9d619
digest already returns a string
2019-11-12 13:28:28 +01:00
Tobias Koppers
90971dc0e6
use SyncHook for afterFinishAssets
2019-11-12 13:24:58 +01:00
Sergey Melyukov
f69f386855
fix review
2019-11-12 13:20:56 +01:00
Sergey Melyukov
fa8f5bcb80
feat: support caching in SourceMapDevToolPlugin ( closes #9721 )
2019-11-12 13:20:55 +01:00
Tobias Koppers
b90f3e14a1
upgrade webpack-sources
...
make source maps and source names context independent
add enhanced-resolve declarations
add types to Module.build
fix tooling for import order to support import renaming
add support for concatenated modules in eval source maps
2019-11-12 08:59:08 +01:00
Tobias Koppers
e93f5bedb4
avoid sourceMappingURL in the source code
2019-10-18 15:10:03 +02:00
Tobias Koppers
7bde43f47a
Merge tag 'v4.40.0' into next
...
4.40.0
2019-09-13 11:12:26 +02:00
Tobias Koppers
758269e814
add emit/updateAsset to Compilation
...
add asset info with
* immutable for long term cache-able asset
* size for the asset size in bytes
* development for devtools
* hotModuleReplacement for HMR assets
show asset info in stats
2019-09-11 14:43:42 +02:00
Tobias Koppers
5e07802e21
SourceMapDevTool applies to all assets and adds auxiliary files to chunks
2019-09-09 12:18:06 +02:00
evilebottnawi
6a99b5316d
refactor: migrate on `schema-utils`
2019-08-07 18:10:40 +03:00
Tobias Koppers
d244ca9458
avoid too frequent progress display
...
#9460
2019-07-24 22:41:14 +02:00
Tobias Koppers
fde3f6298d
fix low hanging performance problems with ProgressPlugin
...
#9460
2019-07-24 22:39:44 +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
cf20194d00
Merge pull request #9166 from shawtung/feature/source-map-dev-tool-plugin_file-placeholder
...
Add [file] placeholder for sourceMappingURL in SourceMapDevToolPlugin
2019-07-10 14:37:34 +02:00
ikopeykin
87164a6956
#9331 resolve discussion
2019-07-08 23:31:11 +03:00
shawtung
1f22f358fa
Add [file] placeholder for sourceMappingURL
2019-07-04 11:38:40 +08:00
ikopeykin
fc6852f47d
esdoc(SourceMapDevToolPlugin): add some esdoc definitions
2019-06-26 19:42:33 +03: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
e9c0d068dd
refactor filesystem interfaces
...
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Florent Cailhol
15997e2324
Remove context usage in ProgressPlugin
2018-11-27 08:58:43 +01:00
Michael Ciniawsky
56c49bdc9d
refactor(TemplatedPathPlugin): split placeholder context (`chunk|module`)
2018-11-01 20:23:09 +01:00
Tobias Koppers
17044bf9c6
Merge tag 'v4.20.0' into next
...
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers
1f6b92de3e
use declarations from schemas in plugins
2018-09-21 11:04:28 +02:00
Tobias Koppers
19d60ba0cd
Merge tag 'v4.19.1' into next
...
4.19.1
2018-09-18 10:13:54 +02:00
Tobias Koppers
02b15a1b46
pass chunkGraph to updateHash instead of moduleGraph
...
pass chunkGraph to compareModulesById instead of moduleGraph
pass chunkGraph to methods of RuntimeTemplate
use comparators from module at some places
2018-08-28 12:06:53 +02:00