Commit Graph

943 Commits

Author SHA1 Message Date
Tobias Koppers 6185147cb5 error when HMR is not enabled but entry added 2014-08-27 16:50:40 +02:00
Tobias Koppers 2873d8f93d update versions 2014-08-27 16:46:49 +02:00
Tobias Koppers 91c3a1ad83 additional test case for umd2 2014-08-27 16:25:48 +02:00
Tobias Koppers 0380796af2 Merged PR #362
code style fixes
2014-08-27 16:25:28 +02:00
Tobias Koppers 1f2ea44643 fix .npmignore
fixes #431
2014-08-27 14:54:12 +02:00
Jordan Klassen 4a5bfbdf3d Merge remote-tracking branch 'origin/master' into optional-require-as-global
Conflicts:
	test/cases/parsing/extract-amd/index.js
2014-08-26 11:14:40 -07:00
Tobias Koppers b9a84f89d4 1.3.7 2014-08-25 16:34:53 +02:00
Tobias Koppers b71e8cca45 fixed copy bug 2014-08-25 16:34:19 +02:00
Tobias Koppers 19b618133a 1.3.6 2014-08-25 13:38:43 +02:00
Tobias Koppers 69cc31c1e2 fixed HMR bug 2014-08-25 13:38:33 +02:00
Tobias Koppers 382635d711 1.3.5 2014-08-25 10:45:16 +02:00
Tobias Koppers 1f94924a0c fixes #426 2014-08-25 10:45:04 +02:00
Tobias Koppers b9ac3fa3c7 1.3.4 2014-08-25 10:20:07 +02:00
Tobias Koppers 887852f6df Allow to share hotUpdateCallback
fixes #423
2014-08-25 10:19:04 +02:00
Tobias Koppers 1bc0b8c0f4 added __webpack_hash__
fixes #422
2014-08-25 09:50:26 +02:00
Tobias Koppers bf70c88399 throw on missing node.js module
fixes #411
2014-08-21 14:43:34 +02:00
Tobias Koppers c745597617 support for define([], obj), cs closure in r.e
fixes #371
fixes #407
2014-08-21 14:32:24 +02:00
Jordan Klassen 95ab7a9960 Merge remote-tracking branch 'origin/master' into optional-require-as-global
Conflicts:
	lib/UmdMainTemplatePlugin.js
2014-08-19 10:23:33 -07:00
Tobias Koppers 2f78151967 Merge pull request #409 from webpack/improve/hot-logging
Add logging about downloading the hot manifest
2014-08-19 10:17:19 +02:00
Tobias Koppers 2a838f6772 Merge pull request #413 from hmalphettes/master
Fix #412 - Support for holes inside Arrays
2014-08-19 10:13:48 +02:00
Hugues Malphettes c2cc1dd231 Fix #412 - Support for holes inside Arrays
An array with a hole such as `[,'foo']` is parsed by Esprima as null.
Skip its evaluation.

Reference: https://code.google.com/p/esprima/issues/detail?id=525#c18
```
According to
https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API#Expressions:

  interface ArrayExpression <: Expression {
    type: "ArrayExpression";
    elements: [ Expression | null ];
  }
```
2014-08-19 09:59:35 +08:00
Johannes Ewald b84b3486b7 Add logging about downloading the hot manifest 2014-08-18 14:30:47 +02:00
Tobias Koppers 2a419ccbea 1.3.3-beta2 2014-08-14 11:34:03 +02:00
Tobias Koppers 97128e0535 added option for devtools
`output.devtool[Fallback]ModuleFilenameTemplate` option
fixes #405
2014-08-14 11:31:05 +02:00
Tobias Koppers da5b51cb00 fixed hot error handler test case 2014-08-14 10:24:27 +02:00
Tobias Koppers eb02ef1e94 add hot self accept with error handler 2014-08-14 10:04:05 +02:00
Tobias Koppers 73650a554b Merge pull request #404 from undoZen/module-hot-data
fix module.hot.data
2014-08-14 10:02:00 +02:00
Anson Yu Wang 112a44da81 fix this.applyPluginsWaterfall("module-obj", .. call in MainTemplate.js 2014-08-13 20:53:23 +08:00
Anson Yu Wang d0cf49d23c fix module.hot.data 2014-08-13 16:46:01 +08:00
Tobias Koppers 951d9ec906 Merge pull request #394 from kurtharriger/FixHotUpdateFunction
Function name cannot contain -
2014-08-05 16:00:36 +02:00
Tobias Koppers f7be3c7711 fixed substr bug 2014-08-05 08:30:39 +02:00
Tobias Koppers 0ef93c79df add entry-not-found testcase 2014-08-04 18:08:52 +02:00
Kurt Harriger bdae82a290 Replace ad-hoc identifier cleansing with helper function
Generalized identifier cleansing to replace invalid (and unicode)
characters with underscores to ensure a valid function name.

Applied function in other places functions were generated based on
libarary name.
2014-08-04 08:25:33 -06:00
Tobias Koppers 37a518e77c added test cases 2014-08-04 08:38:56 +02:00
Tobias Koppers a5bf0a2fbc add hideStack testcase 2014-08-03 22:30:43 +02:00
Tobias Koppers 5a447ad7c3 1.3.3-beta1 2014-08-03 21:37:24 +02:00
Tobias Koppers 2935d149a4 add test case for source-map bug 2014-08-03 21:31:53 +02:00
Tobias Koppers fa2cd8b0ec Merge pull request #393 from qraynaud/master
Add a semi-colon at the end of the UMD template
2014-08-03 21:16:11 +02:00
Kurt Harriger 45a9f0d492 Function name cannot contain -
When output.library contains a - the generated function name is not
valid.  Replace - with _ to create valid function name.
2014-08-03 10:32:56 -06:00
Quentin Raynaud 3c4284f011 add a semi-colon at the end of the UMD template
Rationale: the missing semi-colon can cause bugs in some edge cases where webpack
is used to generate a library that will be concatenated in dependent project.
2014-08-03 16:05:40 +02:00
Tobias Koppers 4810ac780c Merge pull request #389 from Chrazy/stats-patch
Make stats version output configurable
2014-08-01 15:59:37 +02:00
Christoffer Wolgast ab630347ad Make stats version output configurable 2014-08-01 15:19:15 +02:00
Tobias Koppers e5cc07ec96 added #387 test cases 2014-08-01 07:06:31 +02:00
Tobias Koppers 66b095566d rebuild main chunk in fewer cases 2014-07-31 16:33:29 +02:00
Tobias Koppers aca7f8b547 shorter [name] 2014-07-31 13:51:37 +02:00
Tobias Koppers 37bc2b25d4 added appveyor badge 2014-07-31 13:44:57 +02:00
Tobias Koppers f9d6e9a189 don't test node.js 0.8 2014-07-31 10:57:15 +02:00
Tobias Koppers f52ab9a036 added appveyor file 2014-07-31 10:24:05 +02:00
Tobias Koppers 6c804e8a6e fixed dev-dep 2014-07-29 00:35:51 +02:00
Tobias Koppers a7d7c4ca2f 1.3.2-beta9 2014-07-29 00:15:22 +02:00