Commit Graph

2421 Commits

Author SHA1 Message Date
Tobias Koppers 794b883f0a Merge branch 'next' into deprecation/webpack-3 2017-09-22 14:30:04 +02:00
Tobias Koppers 8f58eeeb81 Merge branch 'next' into feature/pure-module
# Conflicts:
#	test/statsCases/commons-plugin-issue-4980/expected.txt
#	test/statsCases/scope-hoisting-multi/expected.txt
#	test/statsCases/tree-shaking/expected.txt
2017-09-15 11:15:45 +02:00
Tobias Koppers 553287d67d Merge branch 'next' into feature/jsonp-error
# Conflicts:
#	test/statsCases/aggressive-splitting-on-demand/expected.txt
#	test/statsCases/chunks/expected.txt
#	test/statsCases/commons-chunk-min-size-0/expected.txt
#	test/statsCases/commons-plugin-issue-4980/expected.txt
#	test/statsCases/import-weak/expected.txt
#	test/statsCases/limit-chunk-count-plugin/expected.txt
#	test/statsCases/named-chunks-plugin-async/expected.txt
#	test/statsCases/named-chunks-plugin/expected.txt
#	test/statsCases/optimize-chunks/expected.txt
#	test/statsCases/preset-detailed/expected.txt
#	test/statsCases/preset-normal-performance-ensure-filter-sourcemaps/expected.txt
#	test/statsCases/preset-normal/expected.txt
#	test/statsCases/preset-verbose/expected.txt
2017-09-15 10:30:33 +02:00
Tobias Koppers 2d84450fba Merge pull request #3333 from webpack/feature/jsonp-to-push
change jsonp function to jsonp array push
2017-09-15 09:47:53 +02:00
Tobias Koppers c383d5ea7f rename `pure-module` to `side-effects` 2017-09-14 15:12:36 +02:00
Tobias Koppers 9bcc0d58cb code cleanup and existence checks 2017-09-14 15:10:29 +02:00
Tobias Koppers 64aa63d6a8 increase coverage with test case
remove unused code
2017-09-14 14:46:46 +02:00
Tobias Koppers bc41e60424 options defaulter returns new object 2017-09-14 14:16:36 +02:00
Tobias Koppers 7ceac63f07 add support for pure modules 2017-09-14 09:44:42 +02:00
Tobias Koppers 5c489b6c5d Refactor harmony modules
separate side effects from specifier
fixes TDZ for export let/const
bigger bundles are caused by correct export const/let behavior

BREAKING CHANGE: Internal have changed. Plugins could rely on them.
2017-09-14 09:44:32 +02:00
Tobias Koppers 4a541e01a5 remove typo orginalError 2017-09-14 09:21:41 +02:00
Tobias Koppers 8f9401ac4e remove notCacheable 2017-09-14 09:21:28 +02:00
Tobias Koppers a4d63e4051 remove loader context options, add rootContext 2017-09-14 09:19:21 +02:00
Tobias Koppers d1bd5fa2db remove resolveSync 2017-09-14 08:59:09 +02:00
Tobias Koppers 06f4a6dd37 Merge branch 'master' into deprecation/webpack-3 2017-09-14 08:56:59 +02:00
Tobias Koppers 04a63bf6f6 add test cases and optimizes output array 2017-09-14 08:49:14 +02:00
Tobias Koppers 7387c50c3a change jsonp function to jsonp array push 2017-09-14 08:49:14 +02:00
Tobias Koppers 4e92e7d20c Merge branch 'master' into next 2017-09-14 08:47:39 +02:00
Tobias Koppers 3d99168a67 remove unused code, add todo comment 2017-09-13 17:21:38 +02:00
Tobias Koppers 0975d13da7 assign correct cache to child compilation
fixes webpack-contrib/extract-text-webpack-plugin#612
2017-09-13 16:29:37 +02:00
Tobias Koppers 0a6f011e04 Merge pull request #5229 from 2hu12/master
remove one line of useless code
2017-09-11 12:55:53 +02:00
Tobias Koppers bafcdf19ce Merge pull request #5459 from webpack/refactor/cleanups
Small refactorings
2017-09-11 12:47:14 +02:00
Tobias Koppers f53c0ceb84 Merge pull request #5322 from webpack/performance/parser
Parser performance improvements
2017-09-11 12:41:28 +02:00
Tobias Koppers 4105297de6 Merge branch 'next' into deprecation/webpack-3 2017-09-11 11:26:44 +02:00
Tobias Koppers 978e9f9b17 Merge pull request #5635 from webpack/bugfix/clone-options
clone options and don't modify them
2017-09-06 17:32:19 +02:00
Tobias Koppers 50201047d7 allow boolean values for node and performance 2017-09-06 17:15:03 +02:00
Tobias Koppers f04cce8278 clone options and don't modify them
fixes #5628
2017-09-06 12:10:16 +02:00
Tobias Koppers 1fb9eb1e47 fixes #5624 2017-09-06 10:33:08 +02:00
Tobias Koppers f83c913e53 Merge branch 'master' into refactor/cleanups 2017-09-06 09:39:28 +02:00
Tobias Koppers fb8afe7138 Merge pull request #5623 from webpack/bugfix/concat-require-root
handle inner non-harmony dependencies correctly in ConcatenatedModule
2017-09-04 15:50:50 +02:00
Tobias Koppers af470a504e handle inner non-harmony dependencies correctly in ConcatenatedModule
add async as keyword

fixes #5604
fixes #5615
2017-09-04 14:09:55 +02:00
Tobias Koppers ccc431756c fix typo in HMR API 2017-09-04 08:45:07 +02:00
Tobias Koppers b75b20b416 Merge pull request #5595 from filipesilva/fix-deopts
fix: replace for..of to prevent v8 deoptimization
2017-08-31 11:22:12 +02:00
donocode 174fd4e21b Prevent NormalModule contextify from contextifying query parameters
When passing a path as part of a loader query string the contextify
function incorrectly modifies the query string paths, most notably
converting windows separators
2017-08-29 23:50:22 +02:00
Filipe Silva 2f30174d15 fix: replace for..of to prevent v8 deoptimization
According to https://github.com/GoogleChrome/devtools-docs/issues/53#issuecomment-319107156, use of `for...of` statements will cause a deopt in some versions of v8.

In a my particular case these two changes reduced 1.6 seconds in a big rebuild.
2017-08-29 14:35:37 +01:00
Sean Larkin 5538e157d5 Merge pull request #5572 from TheLarkInn/feature/template_cleanup
feat(template): cleanup template a bit, add a test for toPath
2017-08-28 10:34:19 -05:00
Tobias Koppers 616ce45a56 Merge pull request #5563 from STRML/fix/dev-server-optimization-bailout
fix: Clear optimization bailouts on module.disconnect
2017-08-28 12:31:29 +02:00
Tobias Koppers 7a47bd8f79 add g flag to regexp 2017-08-28 11:58:05 +02:00
simek f1b81c1e3a refactor/simplify getReference() in HarmonyExportImportedSpecifierDependency.js 2017-08-27 02:05:57 +02:00
Sean Larkin 45a447eada feat(template): cleanup template a bit, add a test for toPath 2017-08-25 14:34:05 -06:00
Samuel Reed e91a761f0b
fix: Clear optimization bailouts on module.disconnect
Ref: #5562
2017-08-25 00:40:09 -05:00
mc-zone baada552e2 add error type and request url when dynamic chunk failed to load (#4595) 2017-08-23 16:20:27 +08:00
Tobias Koppers 6bdd9dca87 Merge pull request #5535 from webpack/bugfix/incremental-concat-compat
set compatiblity flag correctly even after incremental build
2017-08-16 15:21:04 +02:00
Tobias Koppers c5deb595c5 set compatiblity flag correctly even after incremental build
fixes #5510
2017-08-16 14:59:09 +02:00
Tobias Koppers 99c2706ed3 Ensure that graph structure stay consistent
fixes #5527
2017-08-16 14:05:06 +02:00
Tobias Koppers 0ea37a5485 Disallow Scope Hoisting when using HMR
fixes #5504
2017-08-12 11:00:55 +02:00
Tobias Koppers e5f4eb147a Merge branch 'master' into refactor/cleanups 2017-08-12 10:03:51 +02:00
kisenka 3d272aceea fix: restore `modules` property of ConcatenatedModule (fixes #5477) 2017-08-12 01:01:50 +03:00
kisenka 7a36951aa8 Merge branch 'master' of https://github.com/webpack/webpack into concatenated-module-in-3.5-compat 2017-08-12 00:58:43 +03:00
Tobias Koppers 839915ccf7 Merge pull request #5501 from webpack/bugfix/hash-watch-warnings-errors
Warnings and Errors contribute to hash
2017-08-11 17:46:49 +02:00