Commit Graph

29 Commits

Author SHA1 Message Date
Anchen bd043db35d Change headReg and bodyReg to allow spaces (#709)
* change headReg and bodyReg to allow spaces

* change regex to only allow space before closing tag
2017-06-29 09:08:52 +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 831cbdecb8 Ensure that all tests pass for webpack2
Use sort mode "dependency" as default for webpack2
2016-03-23 11:06:11 +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
mc-zone 313a83115a add test 2016-02-26 20:57:49 +08:00
Jan Nicklas bf48112fa9 Use semistandard code style 2016-01-20 16:50:16 +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 e2863a9b72 Add missing use strict statements 2015-11-23 12:11:35 +01: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 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
Jan Nicklas 387ca2448a Use lodash to solve dependency issues for the fallback loader 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
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 80d141d8c2 Refactor favicon 2015-05-11 23:29:11 +02:00
Simen Bekkhus 5771dac3c9 Add support for favicon and apple-touch-icon
Fixes #28
2015-05-11 08:27:19 +02:00
Jan Nicklas 677e5585b0 Integration tests for extract-text-webpack-plugin 2015-04-23 15:21:51 +02:00
Jan Nicklas 76d45eda48 Add append option 2015-04-21 17:37:08 +02:00
Charles Blaxland cadad66359 Order chunks to reflect their dependencies 2015-04-20 12:43:46 +10:00
Charles Blaxland 6ae0e85202 Expose webpack configuration to templates 2015-03-30 12:19:10 +11:00
Jan Nicklas 55f316d396 Rename the assets template to support old templates files 2015-03-11 11:36:55 +01:00
Jan Nicklas 1debf35bdf Adjust tests for hash urls 2015-03-11 11:26:52 +01:00
Charles Blaxland ea26ac88f7 Add a test and documentation for generating multiple HTML files 2014-08-13 21:22:07 +10:00
Charles Blaxland f44af556d8 Hook webpack 'emit' to allow html to be emitted as an asset 2014-08-13 20:34:45 +10:00
Charles Blaxland c26597403c Allow user defined HTML templates 2014-08-12 22:16:41 +10:00
Charles Blaxland 7d27822455 Generated HTML loads multiple entry points 2014-08-12 22:03:43 +10:00
Charles Blaxland d9d3b23c56 Generate a default index.html from a single webpack entry point 2014-08-12 13:01:56 +10:00