Commit Graph

4563 Commits

Author SHA1 Message Date
Thai Pangsakulyanont fcae4da622 assert delegation type in DelegatedModule test 2017-09-17 23:29:06 +07:00
Thai Pangsakulyanont 47d3b80b2e add updateHash for ExternalModule
otherwise, changing the externalModule’s variable name (request) will not
affect the build hash
2017-09-17 23:29:06 +07:00
Thai Pangsakulyanont 4b284ac1b5 updateHash using this.type and this.request instead
this.request is JSON.stringified because otherwise an error will be thrown:
    TypeError: Data must be a string or a buffer

This is because the target ID may be string or number.
2017-09-17 23:05:38 +07:00
Thai Pangsakulyanont 5cb7bfa81f add test case for DelegatedModule#updateHash
this test case verifies that #5684 is fixed
2017-09-16 03:37:46 +07:00
Thai Pangsakulyanont a0ddd55aa6 fix DelegatedModule does not updateHash with its parameters
fixes #5684
2017-09-16 03:00:45 +07:00
Tobias Koppers 622675993d 3.6.0 2017-09-15 10:45:43 +02:00
Tobias Koppers 2b1046e0a9 Merge pull request #5671 from webpack/bugfix/child-cache
assign correct cache to child compilation
2017-09-13 22:33:00 +02:00
Tobias Koppers 3d99168a67 remove unused code, add todo comment 2017-09-13 17:21:38 +02:00
Tobias Koppers 46432c4009 add test for notCacheable in CachePlugin 2017-09-13 17:19:15 +02:00
Tobias Koppers 460e6b68e1 remove incorrect tests 2017-09-13 16:51:24 +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 cc03d8e882 fix sponsors list for opencollective API changes 2017-09-12 12:11:28 +02:00
Tobias Koppers f6285d2217 Merge pull request #5652 from JLHwung/remove-duplicate-eslintrc-configuration-item
chore(eslint): remove duplicate configuration item
2017-09-11 12:13:42 +02:00
Tobias Koppers 5463c1ed9b add next PR label 2017-09-11 12:13:17 +02:00
Tobias Koppers d87c88e490 Merge pull request #5517 from webpack/ci/travis
update to newer travis image
2017-09-11 11:13:53 +02:00
Tobias Koppers 2f428aaf44 CI improvements 2017-09-11 11:02:40 +02:00
Tobias Koppers 9e14196319 update to newer travis image 2017-09-11 10:47:44 +02:00
Huáng Jùnliàng 44df871659 chore(eslint): remove duplicate configuration item 2017-09-09 09:43:30 +08:00
Tobias Koppers 2206ee0e55 Merge pull request #5625 from gyandeeps/issue5576
Fix: Add path separator to avoid file and folder name mixup(fixes #5576)
2017-09-07 00:07:29 +02:00
Tobias Koppers 92d5c20943 3.5.6 2017-09-06 17:41:05 +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 a4cf91f23d Merge pull request #5633 from webpack/bugfix/indirect-import
fixes #5624
2017-09-06 15:33:44 +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
Gyandeep Singh 4f5e78bc0f Use statsSync isDirectory to check dir 2017-09-05 21:25:41 -05:00
Gyandeep Singh 877ecc88f3 Adding unit test 2017-09-04 16:09:20 -05:00
Gyandeep Singh cedc09dbe6 Fix: Add path separator to avoid file and folder name mixup(fixes #5576) 2017-09-04 15:23:54 -05: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 1b85726b8b Merge pull request #5621 from webpack/bugfix/hmr-api
fix typo in HMR API
2017-09-04 14:15:51 +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
Sean Larkin 9d9ac3baae Merge pull request #5608 from xekri/patch-1
typo fix
2017-09-01 05:39:57 -05:00
Fu Xiao 633eac42bb typo fix
`HTT2` seems typo of `HTTP2`
2017-08-31 21:11:06 -05: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
Tobias Koppers c8fd542579 Merge pull request #5599 from donocode/master
Prevent NormalModule contextify from contextifying query parameters
2017-08-30 11:19:02 +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
Tobias Koppers a8c382e27f Merge pull request #5589 from Turbo87/patch-1
README: Fix duplicate GWT link
2017-08-29 09:15:11 +02:00
Tobias Bieniek c83ad1642b README: Fix duplicate GWT link 2017-08-28 17:51:15 +02: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
Tobias Koppers 66e6871111 Merge pull request #5581 from Simek/refactorInHarmonyExportImportedSpecifierDependency
refactor/simplify getReference() in HarmonyExportImportedSpecifierDependency.js
2017-08-28 11:54:47 +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
Tobias Koppers 8ea64c5298 Merge pull request #5566 from entozoon/patch-1
Grammar
2017-08-25 15:59:10 +02:00
Samuel Reed e91a761f0b
fix: Clear optimization bailouts on module.disconnect
Ref: #5562
2017-08-25 00:40:09 -05:00
Michael Cook 63c4e36f0f Grammar
Not a big deal but I had to re-read that sentence a bunch of times before grasping.
2017-08-24 12:49:55 +01:00
Tobias Koppers 2ee780fb39 Merge pull request #5558 from joelhandwell/patch-1
Update GWT's site to official website URL
2017-08-23 18:13:19 +02:00