Commit Graph

379 Commits

Author SHA1 Message Date
Jan Nicklas b9ae47983c Merge pull request #295 from zzuieliyaoli/master
add demo code about events
2016-04-18 13:44:03 +02:00
zzuieliyaoli 72c33d7b3e remove additional word 2016-04-18 19:40:54 +08:00
Jan Nicklas 37bf50d662 Merge pull request #279 from ampedandwired/feature/hash-names
Support hashes in filenames
2016-04-18 13:16:02 +02:00
Jan Nicklas bfed3a29cc Add support for dynamic filenames 2016-04-18 13:00:48 +02:00
Jan Nicklas 765002458b Use loadash instead of object assign for old node versions 2016-04-18 13:00:48 +02:00
Jan Nicklas c0b730f25d Support hashes in filenames 2016-04-18 13:00:48 +02:00
zzuieliyaoli b8532f436d add demo code about events 2016-04-18 16:46:59 +08:00
Jan Nicklas 4fc5328411 Merge pull request #289 from numical/master
Corrected README.md Events example code
2016-04-13 07:16:26 +02:00
Mike Evans 4dc976e396 corrected README.md Events example code 2016-04-12 09:55:22 +01:00
Jan Nicklas f89eb945ec Update webpack.config.js 2016-04-04 15:14:25 +02:00
Thai Pangsakulyanont 25fd764e16 Don’t emit the html for hot-update compilation.
webpack-dev-server@2.0.0-beta seems to be emitting hot update bundles separately from the full bundle. This makes HtmlWebpackPlugin mistake it for the real bundle, and generates a HTML file that looks like this:

```html
<script src="0.8f9c33574d86dd9eab0d.hot-update.js"></scriptt>
```

This commit uses quite a hack to check if the emitted bundle is a hot-update bundle, and skip emitting `index.html` file.
2016-04-02 16:47:06 +07:00
Jan Nicklas c776cdd586 Update README.md 2016-03-29 18:48:48 +02:00
Jan Nicklas 3ad0f9fba6 Fix test for webpack2 2016-03-29 18:38:27 +02:00
Jan Nicklas a009406838 Write changelog 2016-03-29 18:32:23 +02:00
Jan Nicklas 4ab5f1bdb1 Merge pull request #267 from ampedandwired/feature/webpack2-tests
Feature/webpack2 tests
2016-03-24 21:49:38 +01:00
Jan Nicklas def0703e71 Add inline tests for webpack 2 2016-03-23 11:13:38 +01:00
Jan Nicklas 29871bd0f5 Fix dist files 2016-03-23 11:06:11 +01:00
Jan Nicklas fab60bed44 Fix sorting for webpack2 2016-03-23 11:06:11 +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 40b065808c Add example results for webpack-2 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 f616f2e22f Add inlining 2016-03-23 10:07:26 +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 9066ad2ad3 Merge pull request #263 from ampedandwired/feature/recompilation-tests
Add caching tests
2016-03-21 12:02:09 +01:00
Jan Nicklas 4114403df2 Count built files 2016-03-21 00:10:43 +01:00
Jan Nicklas 58681c3bdb Release v2.12.0 2016-03-20 15:40:12 +01:00
Jan Nicklas 854242a24c Merge basic webpack 2 support #225
# By Alexander Wesolowski (1) and Jan Nicklas (1)
* commit 'c883a8663c07da04cb6b713bca45ed65a93f7e5c':
  Move template.js into loader.js
  Fix Webpack2 compatibility. Closes #213.
2016-03-20 15:38:02 +01:00
Jan Nicklas 890353b6e4 Add caching tests 2016-03-20 15:34:59 +01:00
Jan Nicklas 75adbcb066 Release 2.11.0 2016-03-20 14:14:26 +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
Jan Nicklas b613824bf8 Merge pull request #255 from fetch/xhtml
Add xhtml option to make link tags self-closing
2016-03-15 14:48:18 +01:00
Koen Punt f8abc156b5 Add xhtml option to readme and add tests 2016-03-15 13:51:41 +01:00
Jan Nicklas 7af56dbb99 Merge pull request #254 from mistadikay/master
Update changelog
2016-03-15 12:56:07 +01:00
Koen Punt bf5901e5c0 Add xhtml option to make link tags self-closing 2016-03-15 12:37:18 +01:00
mistadikay c4587c1443 add missing changelog from 1.5.0 to 2.10.0 2016-03-15 11:01:20 +07:00
mistadikay 5ca4d1610a rename CHANGES.md to CHANGELOG.md 2016-03-15 11:00:59 +07:00
Jan Nicklas 13e9a2ed2f Update README.md 2016-03-10 11:26:12 +01:00
Jan Nicklas 4a817ab2c3 v2.10.0
switch to jasmine 2 #241
add before-html-generation event #240
Properly throw an error in compiler even when childCompilation is missing #243
Update dependencies
2016-03-10 11:14:18 +01:00
Sandeep Arneja 419c2e6121 build public path with correct hash value 2016-03-09 17:45:42 -05:00
Jan Nicklas 07d410d477 Merge pull request #246 from michael-wolfenden/add-compilation-property-to-templateParams
Add additional compilation property to the templateParam object
2016-03-02 08:37:12 +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
Jan Nicklas 183eab1e83 Merge pull request #241 from SimenB/jasmine-2
Upgrade jasmine to 2
2016-02-29 18:50:13 +01:00
Jan Nicklas 24a4ea0df4 Merge pull request #242 from SimenB/travis
Test on alle LTS releases of Node
2016-02-29 18:49:43 +01:00
Jan Nicklas 4d3c7319ed Merge pull request #243 from denis-sokolov/patch-1
Properly throw an error in compiler even when childCompilation is missing
2016-02-29 18:49:32 +01:00
Denis Sokolov 2fd075ff21 Properly throw an error in compiler even when childCompilation is missing
For some errors, no other parameters to the function are even given,
only the error object in `err`.
2016-02-29 18:12:35 +02:00
Simen Bekkhus dbd508027b Test on alle LTS releases of Node 2016-02-28 09:32:57 +01:00
Simen Bekkhus 75175a6297 Upgrade jasmine to 2 2016-02-28 09:30:26 +01:00