Commit Graph

73 Commits

Author SHA1 Message Date
alexander-akait a1df00d339 refactor: improve eslint configuration and better types 2025-03-12 04:56:14 +03:00
alexander.akait e11f2eaab4 fix: types 2024-10-24 00:07:47 +03:00
alexander.akait a2b0f9bac0 fix: ts types 2024-08-14 21:38:08 +03:00
alexander.akait 423e89b2c7 style: improve style of code 2024-08-02 19:32:13 +03:00
alexander.akait a60b294847 feat: allow to customize the stage of BannerPlugin 2024-03-15 20:55:59 +03:00
alexander.akait 3092f7cb20 refactor(types): more 2023-06-22 03:59:10 +03:00
alexander.akait 3591783d9e refactor(types): wasm and runtime 2023-05-26 01:18:44 +03:00
wangqi cbc7beddfa change api trimRight -> trimEnd 2022-08-31 21:41:44 +08:00
David Tanner 4f2adf9d02
Allow banner to be placed as a footer 2022-04-01 12:29:34 -06:00
Ivan Kopeykin 12ecab44fc use cache in BannerPlugin 2022-03-01 20:22:07 +03:00
Tobias Koppers e21b1d46fe precompile schemas for improved startup performance 2021-04-16 16:02:58 +02:00
evilebottnawi 8c19efb7fd chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
Daniel ef43c22e0e
BannerPlugin: remove unnecessary code 2020-06-02 21:51:32 +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 01826e8e16
Merge pull request #9756 from MartijnCuppens/banner-remove-trailing-spaces
Remove trailing whitespace from banners
2019-10-17 21:22:52 +02:00
Tobias Koppers e2e6789d2a type fixes 2019-10-16 16:49:52 +02:00
Martijn Cuppens e29779957a Remove trailing spaces from banners 2019-10-01 19:47:06 +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
jamesgeorge007 d7486fdb30 fix: revert 2019-08-11 08:58:55 +05:30
jamesgeorge007 aed5cce4f5 minor fix 2019-08-11 08:01:40 +05:30
jamesgeorge007 4f003c2cac tweak 2019-08-11 00:03:48 +05:30
jamesgeorge007 fa3b3ef044 refactor 2019-08-10 23:58:27 +05:30
evilebottnawi 6a99b5316d refactor: migrate on `schema-utils` 2019-08-07 18:10:40 +03:00
Tobias Koppers 533c00efa0 remove unnecessary properties 2018-11-01 20:23:10 +01:00
Michael Ciniawsky 8d741fbb0e refactor(BannerPlugin): unify `filename` handling
BREAKING CHANGE: removes `basename` && `query` params (`options.banner`)
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 3aa2280498 move Module.hash and .renderedHash into ChunkGraph 2018-08-22 19:24:54 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Florent Cailhol 112af1e7ec Remove unneeded arguments checks 2018-07-06 11:19:30 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Tobias Koppers 561e95eb31
use const 2018-05-11 09:46:16 +02:00
Florent Cailhol 8488b882a4 Allow banner to be specified as a function 2018-05-10 18:19:32 +02:00
Florent Cailhol 3983803d30 Destructure 'require' to improve readability 2018-03-22 12:05:58 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Tobias Koppers ea609374f7 split Chunk.isInitial into isOnlyInitial and canBeInitial
remove includeInitial argument of getChunk(Module)Maps
2018-01-22 12:52:28 +01:00
Tobias Koppers a2eada1d33 Merge branch 'master' into next
# Conflicts:
#	lib/BannerPlugin.js
2018-01-22 08:48:30 +01:00
Mihail Bodrov 5d93c535c8 Minor optimize banner plugin 2018-01-18 23:47:04 +03:00
EugeneHlushko 2aab060f26 Refactor: indexOf >< checks to includes 2018-01-11 18:58:39 +02:00
Florent Cailhol 36c690d37f Use tapable instead of 'plugin' 2017-12-08 14:23:31 +01:00
Tobias Koppers dae9de6595 Merge branch 'next' into feature/validate-plugin-options
# Conflicts:
#	lib/SourceMapDevToolPlugin.js
#	lib/optimize/AggressiveSplittingPlugin.js
#	yarn.lock
2017-11-28 09:59:59 +01:00
Sergey Petushkov cdd593b847 Rename schemas; Make imports less verbose 2017-11-12 09:48:08 +01:00
Sergey Petushkov d73ad04c72 Add spaces to plugin names 2017-11-12 09:48:08 +01:00
Sergey Petushkov 1065a6e46c Refactor plugins to use schema-utils; Remove unused 2017-11-12 09:48:08 +01:00
Sergey Petushkov 744dbe9b95 Add validations to plugins 2017-11-12 09:48:08 +01:00
Tobias Koppers 91bfd4559a move pathinfo comment into Template helper function
change toIdentifier to generate less underscores
2017-08-08 09:42:43 +02:00
Travis Matthews a82aeedac4 shouldnt exclude ? when parsing querystring 2017-04-17 15:58:04 -04:00