Jan Nicklas
2ea554518a
WIP - Allow to use __dirname and __filename in template files (webpack 2 only)
2016-10-31 08:54:29 +01:00
Andrea Ascari
4e29b022b8
Made before and after "html-processing" events use callback value ( #442 )
...
* Used returned value from applyPluginsAsyncWaterfall promise instead of referred object.
* Removed the possibility to alter 'html' and 'assets' in 'html-webpack-plugin-alter-asset-tags'.
* Added warning for non returned result from 'html-webpack-plugin-after-html-processing' and fixed tests.
2016-10-12 14:23:13 +02:00
christoph peter
9757d3df30
replace [hash] in publicPath of favicon ( #441 )
2016-09-26 12:29:30 +02:00
Michał Gołębiowski
d0105fd7a7
Don't treat templateContent set to an empty string as not specified
...
Fix #355
2016-07-06 13:30:54 +02:00
Jan Nicklas
8fbbf69e50
Update dependencies
2016-07-02 12:51:07 +02:00
Jan Nicklas
86badc3d6e
Add documentation for `html-webpack-plugin-alter-asset-tags`
2016-06-10 14:11:01 +02:00
Jan Nicklas
c43bb4359f
Add 'html-webpack-plugin-alter-asset-tags'
2016-06-10 08:17:41 +02:00
Jan Nicklas
c54273563a
Exclude chunks works now even if combined with dependency sort
2016-06-09 23:04:19 +02:00
Patrick Burtchaell
b718dc1c2c
Add type attribute to script element
...
* Update index.js to add type attribute
* Update tests
* Build examples to update HTML
* Update CHANGELOG
2016-05-13 13:18:58 +02:00
Jan Nicklas
c6f59019b3
Use travis matrix
2016-05-02 14:27:16 +02:00
Jan Nicklas
bfed3a29cc
Add support for dynamic filenames
2016-04-18 13:00:48 +02:00
Jan Nicklas
c0b730f25d
Support hashes in filenames
2016-04-18 13:00:48 +02:00
Jan Nicklas
def0703e71
Add inline tests for webpack 2
2016-03-23 11:13:38 +01:00
Jan Nicklas
831cbdecb8
Ensure that all tests pass for webpack2
...
Use sort mode "dependency" as default for webpack2
2016-03-23 11:06:11 +01:00
Jan Nicklas
935eefb291
Move web pack 1 example results into a subfolder
2016-03-23 11:06:11 +01:00
Jan Nicklas
a04434a225
Add unit tests for absolute file names
2016-03-23 09:20:34 +01:00
Evan You
e4e9555209
support absolute filenames
2016-03-23 03:08:46 -04:00
Jan Nicklas
4114403df2
Count built files
2016-03-21 00:10:43 +01:00
Jan Nicklas
890353b6e4
Add caching tests
2016-03-20 15:34:59 +01:00
Jan Nicklas
67ca550b99
Merge pull request #249 from sandeep45/master
...
build public path with correct hash value
2016-03-17 07:04:33 +01:00
Sandeep Arneja
eb01c774f2
Added a unit test to ensure that hashes are resolved correctly when used as the directory name holding the bundle file
2016-03-16 12:20:08 -04:00
Koen Punt
f8abc156b5
Add xhtml option to readme and add tests
2016-03-15 13:51:41 +01:00
Michael Wolfenden
3005cec0f9
Add additional compilation property to the templateParam object
2016-03-02 13:28:26 +10:00
Jan Nicklas
f707c98d32
Merge pull request #240 from SimenB/event-before-function-invocation
...
Add before-html-generation event
2016-02-29 18:51:16 +01:00
Simen Bekkhus
75175a6297
Upgrade jasmine to 2
2016-02-28 09:30:26 +01: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
mc-zone
313a83115a
add test
2016-02-26 20:57:49 +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
453975ee0f
Improve sorting tests
2016-02-16 07:56:36 +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
bf48112fa9
Use semistandard code style
2016-01-20 16:50:16 +01:00
Jan Nicklas
9e7cc462ba
Add example results and add them to the test suite
2016-01-18 14:48:39 +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
3f16e3491a
Fix test for compiling multiple files
2016-01-11 12:20:46 +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
2b726e8031
Add unit tests for chunk sort
2015-11-23 14:09:59 +01:00
Jan Nicklas
e813b0576a
Work around css-loader issue during testing
2015-11-23 13:38:50 +01:00
Jan Nicklas
e2863a9b72
Add missing use strict statements
2015-11-23 12:11:35 +01:00
Kees Kluskens
fcecadb5ee
Add support for webpack.BannerPlugin
2015-09-09 13:28:10 +02:00
Kees Kluskens
2c028a95c0
Add test for loader errors and fix other broken tests.
...
test.html used the old blueimp template syntax; but because `inject` was
switched to `true` the tests still passed.
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
cfb7e3f01f
Test that the template option picks up a loader from the webpack config.
2015-09-09 11:38:25 +02:00
Kees Kluskens
706267961f
Add underscore test template.
2015-09-09 11:38:24 +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