Commit Graph

80 Commits

Author SHA1 Message Date
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
Jan Nicklas 387ca2448a Use lodash to solve dependency issues for the fallback loader 2015-09-09 11:38:07 +02:00
Jan Nicklas a8677988bd Fix rebase 2015-09-09 11:38:07 +02:00
Jan Nicklas 02223b29e5 Use blueimp loader instead of blueimp 2015-09-09 11:38:07 +02:00
Jan Nicklas ed8f61fc69 Fix chunk filtering 2015-09-09 11:38:06 +02:00
Jan Nicklas ed8e4b290f Fix to resolve path of modules 2015-09-09 11:38:06 +02:00
Jan Nicklas c8a69255b9 Refactoring to support loaders 2015-09-09 11:38:06 +02:00
Jan Nicklas 55b530ba3f Support placing templates in subfolders 2015-06-29 15:57:18 +02:00
Olivier Tassinari 0d727cc23e [async] make sure the async chunks aren't included in the html 2015-06-15 20:30:42 +01:00
Jan Nicklas 6219714fc7 Allow to inject javascript files into the head of the html page 2015-06-01 11:19:45 +02:00
chris.greening 9557db2db0 Modifies unit tests to support expecting warnings 2015-05-31 14:32:07 +01:00
Jan Nicklas ce279debd5 Deprecate htmlWebpackPlugin.assets 2015-05-17 20:02:57 +02:00
Jan Nicklas 26b9f28937 Add promises - add test for missing favicon 2015-05-12 22:55:06 +02:00
Jan Nicklas 80d141d8c2 Refactor favicon 2015-05-11 23:29:11 +02:00