Commit Graph

1725 Commits

Author SHA1 Message Date
Tobias Koppers dcc08e7a31 Merge pull request #1868 from waysact/1800/subresource-integrity
[WIP] Hooks for subresource integrity
2016-01-09 13:16:40 +01:00
Julian Scheid d4db20aacc Add a hook for adding script attributes
Closes #1800
2016-01-08 17:45:53 +01:00
Tobias Koppers ee2b47c502 Merge pull request #1861 from bhamodi/patch-1
Update Copyright notice to include 2016.
2016-01-07 22:48:26 +01:00
Tobias Koppers d28c080d3f Merge pull request #1862 from bhamodi/patch-2
Update Copyright notice to include 2016. #2
2016-01-07 18:44:47 +01:00
Baraa Hamodi e6a82cb907 Update Copyright notice to include 2016. #2 2016-01-07 03:24:38 -05:00
Baraa Hamodi 74a1326283 Update Copyright notice to include 2016. 2016-01-07 03:23:28 -05:00
Tobias Koppers 987d718c9c fixed #1833 2016-01-06 23:50:12 +01:00
Tobias Koppers 5811c57f24 Merge branch 'master' of https://github.com/webpack/webpack.git 2016-01-06 23:29:56 +01:00
Tobias Koppers 0a4a827d57 fixed Stats cases 2016-01-06 23:27:53 +01:00
Tobias Koppers f7c232cbb0 write out stats test results 2016-01-06 23:22:09 +01:00
Tobias Koppers c838656e7f moved defaults for options.output into central place 2016-01-06 23:02:25 +01:00
Tobias Koppers 98056a3387 Merge pull request #1838 from gordonkristan/common-example
Common and vendor chunk example
2016-01-06 21:50:59 +01:00
Tobias Koppers 6bc45850cd fixed #1840 2016-01-06 21:39:50 +01:00
Tobias Koppers 4a9bb29b49 Merge branch 'patch-1' of https://github.com/Globegitter/webpack 2016-01-06 20:32:41 +01:00
Tobias Koppers a4cc54e759 added manual context map option to ContextReplacementPlugin 2016-01-06 19:56:17 +01:00
Markus Padourek b4f974d673 Added test for new example 2016-01-04 12:07:45 +00:00
Markus Padourek aa6a556101 export named * 2016-01-04 12:05:49 +00:00
Gordon Kristan 8bbad200d4 Common and vendor chunk example 2016-01-03 21:07:08 -06:00
Tobias Koppers dc7a19dc87 added source-map dependency 2016-01-03 23:12:21 +01:00
Tobias Koppers b83a4204f1 updated extract-text-plugin 2016-01-03 23:08:48 +01:00
Tobias Koppers 5bfc68aacb Merge branch 'master' of https://github.com/webpack/webpack 2016-01-03 21:44:02 +01:00
Tobias Koppers fecf07dd1f integrated new enhanced-resolve version 2016-01-03 21:42:56 +01:00
Tobias Koppers 461c49ab66 updated partly to new enhanced-resolve API 2016-01-02 00:21:54 +01:00
Tobias Koppers 4c7c929096 simplified defaults 2016-01-02 00:18:25 +01:00
Tobias Koppers 1c961afe7b fixed small issues with new loader-runner 2015-12-30 16:39:10 +01:00
Tobias Koppers ded70aef28 moves stuff from webpack-core to webpack-sources 2015-12-29 17:44:55 +01:00
Tobias Koppers 13c12e9bec fixed compatibility issue 2015-12-26 20:42:52 +01:00
Tobias Koppers 1f58c557c1 Merge pull request #1797 from nilennoct/master
Set charset as 'utf-8' in sourcemap plugin
2015-12-24 12:06:10 +01:00
nanzhu af4c2e88c0 Set charset as 'utf-8' in sourcemap plugin
by adding 'charset=utf-8;'.
2015-12-24 10:50:22 +08:00
Tobias Koppers 22c61618eb fixed test to include star import of reexported module
#1794
2015-12-23 16:34:20 +01:00
Tobias Koppers bde8636d92 behave according to precedence rules from spec
fixed #1792
2015-12-23 16:24:45 +01:00
Tobias Koppers b6da0ee6d0 expanded test case a bit 2015-12-23 15:13:48 +01:00
Tobias Koppers a1ed89ecfa use commonjs compatibility similar to babel
#1788
2015-12-23 00:08:06 +01:00
Tobias Koppers 0915889feb 2.0.2-beta 2015-12-22 12:53:39 +01:00
Tobias Koppers c26aa921ce fixed #1731 2015-12-22 11:12:06 +01:00
Tobias Koppers 4c69156172 fixed #1769 2015-12-22 11:00:48 +01:00
Tobias Koppers f5533c1cd2 fixed #1784 2015-12-22 10:53:49 +01:00
Tobias Koppers d10bff9070 added test case for #1788 2015-12-22 09:20:20 +01:00
Tobias Koppers c5bc9fd2e3 Merge pull request #1774 from antigremlin/fix-shortener-backslashes
Fix Windows filename backslash incompatibility
2015-12-18 18:40:05 +01:00
Tobias Koppers d883923da1 Merge pull request #1764 from jnwng/jw/dll-plugin
Using DllPlugin with multiple chunks ends without emitting chunks.
2015-12-18 18:32:03 +01:00
Andrey Taranov 59b3979635 Fix Windows filename backslash incompatibility
With some loaders (specifically with babel) under Windows the file names
in the source map already come converted to forward slashes. This is
incompatible with RequestShortener so that the source map paths are not
shortened to a relative path. This change makes RequestShortener tolerant
to such cases while preserving existing behaviour.

Fixes #1770
2015-12-18 13:52:23 +01:00
Jon Wong 756f2ca177 Testing LibManifestPlugin directly instead of going through DllPlugin
Renamed files to reflect that change, as well as added tests to verify the manifest output.
2015-12-17 10:33:21 -08:00
Jon Wong 4650dfef44 Fixing issue where DllPlugin + code-splits caused Webpack to end without emitting chunks.
When utilizing code-splitting via a statement like `require.ensure` in addition to the `DllPlugin`, the webpack process would emit the Dll manifest, but not the chunks corresponding to that manifest.

According to [async#forEach](https://github.com/caolan/async#eacharr-iterator-callback), the callback must be called at the completion of every iteration - when utilizing code-splitting, the shortcut branch here would never call the iterator callback, which in turn meant that the `emit` callback never got called, causing the chunks generated by the Dll to not get emitted.

Adding the completion callback results in the behavior we expect - the manifest and the chunks corresponding to that manifest both get emitted.
2015-12-16 10:45:48 -08:00
Tobias Koppers 07c1908bd0 Merge pull request #1738 from lexaurin/master
JS API: ProgressPlugin default handler
2015-12-14 17:54:15 +01:00
Tobias Koppers b997118ebb Merge pull request #1744 from v12/patch-1
Add missing Electron built-in modules
2015-12-14 17:50:26 +01:00
Nikita Khomyakov 0b9601e07e Add missing Electron built-in modules
Add `ipc-renderer` and `ipc-main` to the list of Electron's external modules
2015-12-11 13:15:19 +02:00
Lex Vjatkin 01e7a7cb95 JS API: ProgressPlugin default handler
Default handler moved from CLI args parser to plugin itself.
Now you can use ProgressPlugin in JS API without specifying handler.

Resolves webpack/webpack#1000, SRP
2015-12-10 14:06:20 +01:00
Tobias Koppers 1b9e880f38 Merge pull request #1710 from pugnascotia/master
Fix hot loader compatibility with Java8 Nashorn
2015-12-04 16:26:02 +01:00
Rory Hunter ebe2f371c1 Fix hot loader compatibility with Java8 Nashorn
The way that the hot loader is included in a bundle breaks in Java 8's
Nashorn engine, because of a missing semicolon. This change introduces
a placeholder value that can be correctly substituted when building
a bundle, but is otherwise inert.

Note that I don't particularly like this change, so if there's a better
fix, I'd like to hear about it.
2015-12-04 15:02:11 +00:00
Tobias Koppers e8ffa362bb added pathinfo comments for harmony reexport 2015-12-01 16:13:46 +01:00