webpack/lib
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
..
dependencies Shorter and faster empty context 2014-07-26 14:48:42 +02:00
node Replace ad-hoc identifier cleansing with helper function 2014-08-04 08:25:33 -06:00
optimize Stack trace for critical UglifyJs errors 2014-07-26 13:59:30 +02:00
web make it webpack-able 2013-07-10 23:20:07 +02:00
webworker Replace ad-hoc identifier cleansing with helper function 2014-08-04 08:25:33 -06:00
APIPlugin.js Allow mixing different webpack versions 2014-06-18 10:59:54 +02:00
AbstractPlugin.js Code Quality 2014-06-24 18:53:32 +02:00
AmdMainTemplatePlugin.js support [name] in chunkFilename 2014-07-17 01:52:41 +02:00
ArrayMap.js Code Quality 2014-06-24 18:53:32 +02:00
AsyncDependenciesBlock.js track chunk origin 2014-01-23 15:31:40 +01:00
BannerPlugin.js use initial flag for initial loaded chunks 2013-12-03 23:11:14 +01:00
BasicEvaluatedExpression.js support fancy array in AMD, support .replace and .split 2013-12-08 14:59:52 +01:00
CachePlugin.js Sorted out some MultiCompiler issues 2014-06-18 23:02:33 +02:00
CaseSensitiveModulesWarning.js Warn about modules with matching names if case is ignored 2014-03-31 11:33:17 +02:00
Chunk.js Code Quality 2014-06-24 18:53:32 +02:00
ChunkTemplate.js refactored ChunkTemplate with plugin interface 2014-06-02 23:40:50 +02:00
CompatibilityPlugin.js Allow mixing different webpack versions 2014-06-18 10:59:54 +02:00
Compilation.js support parallel build and rebuild 2014-07-29 00:13:25 +02:00
Compiler.js Code Quality 2014-06-24 18:53:32 +02:00
ConstPlugin.js added options.define, evaluate conditionals, fixes #99 2013-09-13 11:17:57 +02:00
ContextModule.js Shorter and faster empty context 2014-07-26 14:48:42 +02:00
ContextModuleFactory.js Code Quality 2014-06-24 18:53:32 +02:00
ContextReplacementPlugin.js resolve resource in ContextReplacementPlugin 2014-06-17 22:46:24 +02:00
CriticalDependenciesWarning.js Code Quality 2014-06-24 18:53:32 +02:00
DefinePlugin.js renaming is off by default and only enabled for defined expressions 2014-07-02 21:34:29 +02:00
DependenciesBlock.js Code Quality 2014-06-24 18:53:32 +02:00
DependenciesBlockVariable.js template.apply() expects dependencyTemplates arg 2014-04-18 23:35:01 -07:00
Dependency.js Refactored everything for 0.9 2013-01-30 18:49:25 +01:00
EntryModuleNotFoundError.js print fatal error details 2014-02-26 09:37:10 +01:00
EvalDevToolModulePlugin.js Better filenames in dev tools 2014-07-18 13:31:50 +02:00
EvalDevToolModuleTemplatePlugin.js Better filenames in dev tools 2014-07-18 13:31:50 +02:00
EvalSourceMapDevToolModuleTemplatePlugin.js Better filenames in dev tools 2014-07-18 13:31:50 +02:00
EvalSourceMapDevToolPlugin.js Better filenames in dev tools 2014-07-18 13:31:50 +02:00
ExternalModule.js optional externals 2014-07-03 00:00:06 +02:00
ExternalModuleFactoryDecorator.js bug fixed for externals function 2014-04-09 08:25:17 +02:00
ExternalsPlugin.js added externals option 2014-03-05 09:58:51 +01:00
FunctionModulePlugin.js refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
FunctionModuleTemplatePlugin.js refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
HotModuleReplacementPlugin.js add hot self accept with error handler 2014-08-14 10:04:05 +02:00
HotUpdateChunkTemplate.js refactored HotChunkUpdateTemplate to plugin interface 2014-06-03 00:14:46 +02:00
IgnorePlugin.js added contextRegExp to IgnorePlugin 2014-05-26 11:36:47 +02:00
JsonpChunkTemplatePlugin.js Replace ad-hoc identifier cleansing with helper function 2014-08-04 08:25:33 -06:00
JsonpExportMainTemplatePlugin.js support [name] in chunkFilename 2014-07-17 01:52:41 +02:00
JsonpHotUpdateChunkTemplatePlugin.js Replace ad-hoc identifier cleansing with helper function 2014-08-04 08:25:33 -06:00
JsonpMainTemplatePlugin.js Replace ad-hoc identifier cleansing with helper function 2014-08-04 08:25:33 -06:00
JsonpTemplatePlugin.js refactored HotChunkUpdateTemplate to plugin interface 2014-06-03 00:14:46 +02:00
LibraryTemplatePlugin.js refactored MainTemplate to plugin interface 2014-06-02 21:23:53 +02:00
LoaderTargetPlugin.js Unused requires 2014-04-09 09:21:43 +02:00
MainTemplate.js fix this.applyPluginsWaterfall("module-obj", .. call in MainTemplate.js 2014-08-13 20:53:23 +08:00
MemoryOutputFileSystem.js Moved to memory-fs module #98 2014-07-01 22:56:32 +02:00
Module.js add more complex css-bundle examples 2014-07-19 14:32:48 +02:00
ModuleFilenameHelpers.js Find duplicates globally. Don't fallback shortest. 2014-07-26 17:54:00 +02:00
ModuleNotFoundError.js show error details 2014-01-21 16:24:17 +01:00
ModuleParseError.js Don't show error messages for binary files 2014-03-20 08:38:28 +01:00
ModuleParserHelpers.js fixed some stuff 2013-02-08 00:18:47 +01:00
ModuleReason.js Refactored everything for 0.9 2013-01-30 18:49:25 +01:00
ModuleTemplate.js refactored ModuleTemplate to plugin interface 2014-06-03 08:45:26 +02:00
MovedToPluginWarningPlugin.js fixed links 2014-01-14 09:57:26 +01:00
MultiCompiler.js Sorted out some MultiCompiler issues 2014-06-18 23:02:33 +02:00
MultiEntryPlugin.js fix named chunks, added multi entry plugin 2013-01-31 01:44:39 +01:00
MultiModule.js Code Quality 2014-06-24 18:53:32 +02:00
MultiModuleFactory.js fix named chunks, added multi entry plugin 2013-01-31 01:44:39 +01:00
NodeStuffPlugin.js Fix: setConstant and setModuleConstant now function correctly again. 2014-07-04 12:13:44 +02:00
NormalModule.js Code Quality 2014-06-24 18:53:32 +02:00
NormalModuleFactory.js Code Quality 2014-06-24 18:53:32 +02:00
NormalModuleReplacementPlugin.js only after-resolve needs absolute path 2014-05-28 00:19:43 -07:00
NullFactory.js Code Quality 2014-06-24 18:53:32 +02:00
OptionsApply.js Refactored everything for 0.9 2013-01-30 18:49:25 +01:00
OriginalSource.js delegate access to some core Sources 2013-12-13 09:01:46 +01:00
Parser.js Fix #412 - Support for holes inside Arrays 2014-08-19 09:59:35 +08:00
PrefetchPlugin.js webpack 1.0 beta 2013-12-17 23:21:49 +01:00
ProgressPlugin.js Sorted out some MultiCompiler issues 2014-06-18 23:02:33 +02:00
ProvidePlugin.js webpack 1.0 beta 2013-12-17 23:21:49 +01:00
RawModule.js follow the browser-module spec: ignoring export an empty module. 2014-03-01 20:07:42 +01:00
RawSource.js delegate access to some core Sources 2013-12-13 09:01:46 +01:00
RecordIdsPlugin.js allow initial chunks to have other ids than 0 2014-02-11 13:27:41 +01:00
RequestShortener.js fixes #266 2014-05-14 08:20:57 +02:00
RequireJsStuffPlugin.js Allow mixing different webpack versions 2014-06-18 10:59:54 +02:00
ResolverPlugin.js added ResolverPlugin 2014-01-21 13:07:10 +01:00
SetVarMainTemplatePlugin.js support [name] in chunkFilename 2014-07-17 01:52:41 +02:00
SingleEntryPlugin.js Refactored everything for 0.9 2013-01-30 18:49:25 +01:00
Source.js added Source delegation 2013-08-05 11:36:42 +02:00
SourceMapDevToolPlugin.js Find duplicates globally. Don't fallback shortest. 2014-07-26 17:54:00 +02:00
Stats.js Make stats version output configurable 2014-08-01 15:19:15 +02:00
Template.js Replace ad-hoc identifier cleansing with helper function 2014-08-04 08:25:33 -06:00
UmdMainTemplatePlugin.js add a semi-colon at the end of the UMD template 2014-08-03 16:05:40 +02:00
UnsupportedFeatureWarning.js more useful error when using require.extensions #104 2013-10-11 10:42:25 +02:00
WarnCaseSensitiveModulesPlugin.js Warn about modules with matching names if case is ignored 2014-03-31 11:33:17 +02:00
WebpackOptionsApply.js added option for devtools 2014-08-14 11:31:05 +02:00
WebpackOptionsDefaulter.js added node-webkit target (experimental) 2014-04-09 09:12:04 +02:00
removeAndDo.js add more complex css-bundle examples 2014-07-19 14:32:48 +02:00
webpack.js Export more stuff 2014-06-24 00:41:10 +02:00
webpack.web.js make it webpack-able 2013-07-10 23:20:07 +02:00