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
Travis Matthews
ba5887ecc4
add test for query, parsing filename into filebase/basename
2017-04-14 16:12:55 -04:00
Travis Matthews
874d087044
fix beautify errors
2017-04-13 13:46:43 -04:00
Travis Matthews
689194505f
separate declaration for each variable
2017-04-13 13:25:04 -04:00
Travis Matthews
7df6d12c47
add support for query in filenames
2017-04-13 13:23:02 -04:00
Travis Matthews
132a612f31
swapped interpolate for compilation.getPath, removed superfluous test
2017-04-12 14:51:30 -04:00
Travis Matthews
d5bda2246b
fixing beautify errors
2017-04-11 19:54:08 -04:00
Travis Matthews
56ac8eb0a6
better splitting of filename into file/extension, correct errors beautify-lint reported
2017-04-11 19:48:21 -04:00
Travis Matthews
0b609e314f
removed obj destructuring for codacy, added semicolon
2017-04-11 19:17:44 -04:00
Travis Matthews
eec6c4d1ab
removed extra comment, fixed indentation
2017-04-11 19:03:05 -04:00
Travis Matthews
64569322a7
finished intperpolate & tests
2017-04-11 18:51:14 -04:00
Travis Matthews
e8ab398900
adding rest of interpolation func, tests
2017-04-11 18:51:14 -04:00
Travis Matthews
1ed40e4bfc
minimum working test
2017-04-11 18:51:14 -04:00
Travis Matthews
392b0c3e0f
moved banner plugin placeholdertesting to new dir
2017-04-11 18:51:14 -04:00
Travis Matthews
e5575594d8
moved banner plugin placeholdertesting to separate dir
2017-04-11 18:51:14 -04:00
Tim Sebastian
8a95bcc2f4
use const in BannerPlugin
2017-02-05 10:03:30 +11:00
abouthiroppy
f73e87dfc5
refactor(BannerPlugin): update BannerPlugin to es2015
2016-12-29 15:30:22 +09:00
Jerome Foray
c0f70ca32e
[BannerPlugin] change chunk.initial to chunk.isInitial()
2016-07-15 16:19:42 +02:00
Tobias Koppers
ded70aef28
moves stuff from webpack-core to webpack-sources
2015-12-29 17:44:55 +01:00