Commit Graph

135 Commits

Author SHA1 Message Date
Jan Nicklas f8eab624f4 Fix typo and manifest hash 2015-04-21 17:48:45 +02:00
Jan Nicklas 4060a42bfb Revert rebase conflict 2015-04-21 17:37:08 +02:00
Jan Nicklas fd44794a5c Cleaner chunks api 2015-04-21 17:37:08 +02:00
Jan Nicklas c060085ae4 Move the querystring to the files array 2015-04-21 17:37:08 +02:00
Jan Nicklas 932d295d1c Don't inject a hash by default 2015-04-21 17:37:08 +02:00
Jan Nicklas 383dcd480f Rename `append` to `inject` and prevent double injection 2015-04-21 17:37:08 +02:00
Jan Nicklas 76d45eda48 Add append option 2015-04-21 17:37:08 +02:00
Nikolay Artamonov e631065df8 Fixed gathering CSS chunks with content hash in their names 2015-04-21 17:37:08 +02:00
Charles Blaxland 6a9d902950 Include hash in URL within 'files' object rather than append in the template 2015-04-20 12:57:49 +10: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
Charles Blaxland 4d74f4b061 Merge branch 'feature/template-function' of https://github.com/jantimon/html-webpack-plugin into jantimon-feature/template-function
Conflicts:
	index.js
2015-03-30 12:09:09 +11:00
Jan Nicklas 442f016683 Don't append a hash by default 2015-03-27 19:47:34 +01:00
Jan Nicklas 1427d4e3d7 Add .jshintrc file 2015-03-27 19:39:02 +01:00
Jan Nicklas 2815661681 Allow to pass a function for custom html rendering / templating 2015-03-13 18:21:28 +01:00
Jan Nicklas 55f316d396 Rename the assets template to support old templates files 2015-03-11 11:36:55 +01:00
Jan Nicklas 19aef72570 Catch template errors 2015-03-11 11:23:52 +01:00
Jan Nicklas c082bb8ccc Allow filter methods in jshint 2015-03-11 10:54:20 +01:00
Jan Nicklas 3947d27cf2 Use the webpack hash for automated cache busting 2015-03-11 10:50:01 +01:00
Jan Nicklas f88225fe3e Refactor asset helper to support .css (extract-text-webpack-plugin) and .manifest (appcache-webpack-plugin) files
Unfortunately this breaks the old template structure
2015-03-11 10:48:52 +01:00
Jan Nicklas 5693285436 Fix variable name - Rename compiler to compilation 2015-03-11 09:32:21 +01:00
Kurt Harriger b8df1589c5 Recompile if file has changed
Instruct webpack to watch and recompile when template file has changed.

Fixes #5
2015-01-11 18:24:11 -07:00
Charles Blaxland 58d173c3d0 Raise an error if both template and templateContent options are used together 2014-08-14 21:29:46 +10:00
Charles Blaxland 0f15aee3e2 Allow template to be specified as a string 2014-08-14 21:18:58 +10:00
Charles Blaxland 14b1a38dfa Read template file asynchronously 2014-08-14 20:36:15 +10:00
Charles Blaxland 94250b9f10 Support writing HTML output to a configurable filename 2014-08-13 21:08:56 +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 4ea9894058 Hook webpack 'after-emit' instead of 'done' so it works with webpack middleware 2014-08-13 17:18:31 +10:00
Charles Blaxland 67ae8e0746 Add support for specifying the title of the generated HTML 2014-08-13 09:30:27 +10:00
Charles Blaxland 42e8dfa651 Add test case for handling subdirectories in the output path 2014-08-13 09:19:22 +10:00
Charles Blaxland c10e9336e4 Support webpack publicPath configuration 2014-08-12 23:18:07 +10:00
Charles Blaxland 23a0d9c338 Support sourcemaps, which generate multiple output bundles for each entry 2014-08-12 22:28:49 +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