Koen Punt
bf5901e5c0
Add xhtml option to make link tags self-closing
2016-03-15 12:37:18 +01:00
Michael Wolfenden
3005cec0f9
Add additional compilation property to the templateParam object
2016-03-02 13:28:26 +10:00
Simen Bekkhus
3897896265
Add before-html-generation event
...
This allows you to add assets to the html when not using
injection
2016-02-27 18:28:41 +01:00
Ma Cheng
0b4d7383ea
Add chunk hash to `assets.chunks`
...
Add chunk hash to `assets.chunks` so can use it in template.
For some version control requirements, chunk hash may be more useful than compilation hash.
For example, if there are two chunks in page, but only one of them is changed, chunk hash is more cache-friendly.
2016-02-23 19:09:18 +08:00
Jan Nicklas
713643f84f
v2.9.0 Fix favicon path ( #185 #208 #215 )
2016-02-17 13:17:23 +01:00
Jiri Kolarik
b65c39c2f1
fix favicon location
2016-02-17 13:14:31 +01:00
Jan Nicklas
63e4ad6fc7
Support relative urls on windows ( #205 )
2016-02-16 08:05:15 +01:00
Jan Nicklas
99a8d7e4fd
v2.8.1: Improve caching - fixes #204
2016-02-03 18:03:22 +01:00
Jan Nicklas
3f38901758
v2.8.0: Add chunk sort mode dependency
2016-02-03 18:00:27 +01:00
Christian Ruehl
36c762a834
ChunkSorter now implements all different strategies for sorting chunks available through chunksSortMode parameter. HtmlPlugin rewritten to use extended ChunkSorter.
2016-01-26 20:28:02 +01:00
Christian Rühl
3fedf6ac33
Implemented new chunk sorting mode 'dependency', which attempts to order chunks based on their relation within the dependency tree as devised by Webpack.
...
Added unit test for new sorting mode.
Fixed a few typos in other unit tests...sorry, couldn't resist ;-)
2016-01-25 15:13:19 +01:00
Jan Nicklas
70df65d9e5
Add support for require in js templates
2016-01-24 19:07:09 +01:00
Jan Nicklas
8eb8c86be4
Fix relative windows path
2016-01-20 16:51:07 +01:00
Jan Nicklas
bf48112fa9
Use semistandard code style
2016-01-20 16:50:16 +01:00
Jan Nicklas
d5c4e08457
Minor refactoring because of #179
...
Release 2.6.5
2016-01-19 14:52:25 +01:00
Jan Nicklas
e566dac40d
Fix context
2016-01-18 14:47:54 +01:00
Jan Nicklas
df2e4728ab
Fix default template name
2016-01-18 14:47:26 +01:00
Jan Nicklas
70259ea4b9
Invalidate cache on error
2016-01-12 09:30:32 +01:00
Jan Nicklas
1622c7d2e2
Move compiler to its own file
...
Improve error messages
Fix global HTML_WEBPACK_PLUGIN variable
2016-01-11 22:00:47 +01:00
Jan Nicklas
62d7cfb36b
Fixes "No source available"
2016-01-11 16:08:16 +01:00
Jan Nicklas
7e4f83b26c
Fixes #130
2016-01-11 11:41:11 +01:00
anjianshi
ca50483385
fix comment
2016-01-09 10:10:04 +08:00
Jan Nicklas
be966e70e0
Don't recompile if the assets didn't change
2016-01-07 19:19:04 +01:00
Jan Nicklas
b4363a8575
Add events `html-webpack-plugin-before-html-processing`, `html-webpack-plugin-after-html-processing`, `html-webpack-plugin-after-emit`
2016-01-07 11:14:23 +01:00
Jan Nicklas
68428b583f
#135 Inject css and js even if the html file is incomplete
2016-01-07 10:20:52 +01:00
Jan Nicklas
4cfef8a12c
Improve caching
2016-01-07 09:58:14 +01:00
Jan Nicklas
ec36061b03
Allow to disable sorting or pass a custom sort function
2015-11-23 12:04:42 +01:00
Jan Nicklas
5305da7b15
Port "Don't insert chunks that is not 'initial'"
2015-11-23 11:48:28 +01:00
Jan Nicklas
6f522b1998
Beta release 2.0.4
2015-10-08 21:46:39 +02:00
Arthur Stolyar
5db310fa02
Eliminate redundant try..catch
2015-10-04 17:39:02 +03:00
Arthur Stolyar
a34a2b0e24
Fix minify option
2015-10-04 16:03:42 +03:00
Kees Kluskens
a4c18b8c30
Remove url formatting in publicPath.
2015-09-29 21:35:09 +02:00
Kees Kluskens
3f55437bfb
Another try at fixing the public path.
2015-09-28 23:48:54 +02:00
Jan Nicklas
bba8e6bdf6
Fix public path
2015-09-23 12:38:22 +02:00
Kees Kluskens
9278bee55b
Merge branch 'master' into feature-loaders-doc
...
# Conflicts:
# index.js
# spec/HtmlWebpackPluginSpec.js
2015-09-20 17:54:35 +02:00
Jan Nicklas
eed82ed886
A try to explain the replace statement
2015-09-18 13:29:48 +02:00
Kees Kluskens
71dfeab599
Use unique variable to replace the source result.
2015-09-18 12:16:02 +02:00
Oleksandr Khomenko
396cdedf8a
Wrapped with path.join to fix test on io.js
2015-09-14 17:18:38 -05:00
Oleksandr Khomenko
517dfbac32
Use path.normalize instead of path.join
2015-09-14 17:09:57 -05:00
Oleksandr Khomenko
4809fa5804
Fixed 2 tests on windows.
...
Resolve web urls properly with node url module
2015-09-14 17:01:04 -05:00
Kees Kluskens
fcecadb5ee
Add support for webpack.BannerPlugin
2015-09-09 13:28:10 +02:00
Jan Nicklas
f16dc48025
Fix minify and head injection
2015-09-09 11:46:22 +02:00
Kees Kluskens
668ab7ffb3
Bring back template path regex.
...
This is untested code!
2015-09-09 11:38:25 +02:00
Kees Kluskens
0ede95051b
Remove manifest option again and update test.
2015-09-09 11:38:25 +02:00
Kees Kluskens
648fd72c22
Fix manifest option and add tests.
2015-09-09 11:38:24 +02:00
Kees Kluskens
989a09f97a
Add loader tests and cleanup redundant code.
2015-09-09 11:38:24 +02:00
Kees Kluskens
55fcb6d939
Fix displaying loader errors.
2015-09-09 11:38:24 +02:00
Simen Bekkhus
d3eed761f7
Return minified html from promise
2015-09-09 11:38:24 +02:00
Jan Nicklas
ef42642f34
Add jade-loader example
2015-09-09 11:38:24 +02:00
Jan Nicklas
54002dd271
Add more verbose syntax error messages
2015-09-09 11:38:23 +02:00