Commit Graph

7836 Commits

Author SHA1 Message Date
Tobias Koppers 36c7ab73ab
Merge pull request #9128 from rchl/fix/useful-chunk-load-stacktrace
fix: provide useful stacktrace on chunk loading failure
2019-05-20 09:24:02 +02:00
Tobias Koppers a145beadf9
Merge pull request #9140 from tschaub/loader-mode
Allow loaders to access the mode
2019-05-20 09:21:44 +02:00
webpack bot 412f77c678
Merge pull request #9152 from webpack/dependabot/npm_and_yarn/@types/node-10.14.7
chore(deps-dev): bump @types/node from 10.14.6 to 10.14.7
2019-05-20 09:15:37 +02:00
dependabot[bot] ad08a378ce
chore(deps-dev): bump @types/node from 10.14.6 to 10.14.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 10.14.6 to 10.14.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 02:17:21 +00:00
Rafal Chlodnicki b322070344 fix: provide useful stacktrace on chunk loading failure
Error created from load/error event handler has no useful stack trace
whatsoever as it's an async event and stack has unwound already at that
point.

To have better (sync) stacktrace of what triggered loading of the
chunk, create error before stack has unwound and use it and its
stacktrace later, in case of an error.

This potentially has some processing overhead as browser needs to
create a stacktrace. It's probably not that big though but I haven't
done any real testing.
2019-05-19 22:11:24 +02:00
webpack bot 5178aa9ce4
Merge pull request #9143 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-4.3.0
chore(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0
2019-05-18 04:21:54 +02:00
webpack bot a0d16cb9da
Merge pull request #9134 from webpack/dependabot/npm_and_yarn/webpack-dev-middleware-3.7.0
chore(deps-dev): bump webpack-dev-middleware from 3.6.2 to 3.7.0
2019-05-17 04:21:54 +02:00
dependabot[bot] fac1b9f770
chore(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v4.2.0...v4.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-17 02:15:30 +00:00
Tim Schaub 1a63d7bd0d
Default to production
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2019-05-16 13:50:31 -06:00
Tim Schaub 290ab5d071
Allow loaders to access the mode 2019-05-16 10:18:16 -06:00
webpack bot 62d1b15fe6
Merge pull request #9136 from webpack/dependabot/npm_and_yarn/lint-staged-8.1.7
chore(deps-dev): bump lint-staged from 8.1.6 to 8.1.7
2019-05-16 08:17:41 +02:00
dependabot[bot] 412a1ed82f
chore(deps-dev): bump lint-staged from 8.1.6 to 8.1.7
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.6 to 8.1.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.6...v8.1.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 02:18:35 +00:00
dependabot[bot] af0bf5e9d2
chore(deps-dev): bump webpack-dev-middleware from 3.6.2 to 3.7.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v3.6.2...v3.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 02:17:37 +00:00
webpack bot 8086e5c4c2
Merge pull request #9130 from webpack/dependabot/npm_and_yarn/prettier-1.17.1
chore(deps-dev): bump prettier from 1.17.0 to 1.17.1
2019-05-14 23:23:19 +02:00
Tobias Koppers 37ac5facfd
Merge pull request #9131 from webpack/bot/cla
Join effort dependabot and webpack-bot
2019-05-14 23:22:09 +02:00
Tobias Koppers cc05770ea8
merge dependabot PRs automatically 2019-05-14 22:04:15 +02:00
Tobias Koppers e81fb969cf
Skip CLA for dependabot 2019-05-14 16:29:30 +02:00
dependabot[bot] 1e5affb6b1
chore(deps-dev): bump prettier from 1.17.0 to 1.17.1
Bumps [prettier](https://github.com/prettier/prettier) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.17.0...1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-14 02:18:50 +00:00
Tobias Koppers d2dbdd9b30
Merge pull request #9115 from webpack/bugfix/pefetch-public-path
fix prefetching with runtime public path
2019-05-13 13:21:02 +02:00
Tobias Koppers b05377c6f7
Merge pull request #9054 from zcfan/fix-9042
Turn off NodeStuffPlugin with when "node" configuration set to "false"
2019-05-13 11:05:09 +02:00
Tobias Koppers 60dd7c5353
Merge pull request #9120 from webpack/dependabot/npm_and_yarn/eslint-plugin-prettier-3.1.0
chore(deps-dev): bump eslint-plugin-prettier from 3.0.1 to 3.1.0
2019-05-13 09:39:33 +02:00
Tobias Koppers 05fe7dc53a
Merge pull request #9121 from webpack/dependabot/npm_and_yarn/neo-async-2.6.1
chore(deps): bump neo-async from 2.6.0 to 2.6.1
2019-05-13 09:39:18 +02:00
dependabot[bot] 326f4c91cb
chore(deps): bump neo-async from 2.6.0 to 2.6.1
Bumps [neo-async](https://github.com/suguru03/neo-async) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/suguru03/neo-async/releases)
- [Commits](https://github.com/suguru03/neo-async/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 02:16:48 +00:00
dependabot[bot] 2ff2048577
chore(deps-dev): bump eslint-plugin-prettier from 3.0.1 to 3.1.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.0.1...v3.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 02:16:22 +00:00
Tobias Koppers e062e899f6
Merge pull request #9063 from ominiom/fix-parser-object-pattern-rest-element-issue
fix(parser): Rest element identifiers in object patterns not added to defined variables of scope
2019-05-11 00:09:42 +02:00
Tobias Koppers e10e5034d8
Merge pull request #9107 from hiroppy/feature/add-node12-to-azure
chore(ci): add Node.js v12 to azure-pipelines
2019-05-10 23:37:59 +02:00
Tobias Koppers 9bad7218c9 fix test case 2019-05-10 23:37:00 +02:00
Tobias Koppers ac23b8e479 update stats snapshot, because new line was added 2019-05-10 23:16:06 +02:00
Tobias Koppers b6090b6943 delay prefetching until all initial code is evaluated
add test case
fix bug in Chunk.getChildIdsByOrdersMap
2019-05-10 23:10:32 +02:00
Tobias Koppers 905da8cabf fix test case 2019-05-10 23:10:20 +02:00
Dan Homola e79e2417c7 test: make prefetch/preload tests stricter 2019-05-10 23:10:14 +02:00
Tobias Koppers 47906948a8
Merge pull request #9039 from webpack/dependabot/npm_and_yarn/prettier-1.17.0
chore(deps-dev): bump prettier from 1.16.4 to 1.17.0
2019-05-10 22:00:32 +02:00
Yuta Hiroto 6033db679f
chore(ci): add Node.js v12 to azure-pipelines 2019-05-10 20:54:39 +01:00
Tobias Koppers 8632f1ed8d
Merge pull request #9104 from JoeyBurzynski/patch-1
Updated Invalid URL Reference: "Getting Started"
2019-05-10 11:10:07 +02:00
Tobias Koppers 45bdcfd752
Merge pull request #9111 from pranshuchittora/refact-bin
chore(bin):sets string messages to const
2019-05-10 11:09:19 +02:00
Pranshu Chittora b6fa2e7024
chore(bin):sets string messages to const
made string message to const, previously it was let
2019-05-10 13:51:38 +05:30
Joey Burzynski 87059f2e7f Merge branch 'patch-1' of github.com:JoeyBurzynski/webpack into patch-1
Updating commit with new GPG signature in an attempt to resolve CLA status issue.
* 'patch-1' of github.com:JoeyBurzynski/webpack:
  Updated Invalid URL Reference: "Getting Started"
2019-05-10 03:47:45 -04:00
Joey Burzynski f314d8157b
Updated Invalid URL Reference: "Getting Started"
Referenced URL returns 404: `https://webpack.js.org/get-started/`
Updated to: `https://webpack.js.org/guides/getting-started`
2019-05-10 03:47:35 -04:00
dependabot[bot] 1939e31730
chore(deps-dev): bump prettier from 1.16.4 to 1.17.0
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.4 to 1.17.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.4...1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-09 20:00:30 +00:00
Tobias Koppers 069271decf
Merge pull request #9057 from webpack/dependabot/npm_and_yarn/typescript-3.4.5
chore(deps-dev): bump typescript from 3.4.3 to 3.4.5
2019-05-09 21:58:43 +02:00
Tobias Koppers e45d34c096
Merge pull request #9069 from webpack/dependabot/npm_and_yarn/@types/node-10.14.6
chore(deps-dev): bump @types/node from 10.14.4 to 10.14.6
2019-05-09 21:58:24 +02:00
Tobias Koppers 7f11d0b344
Merge pull request #9083 from webpack/dependabot/npm_and_yarn/jest-junit-6.4.0
chore(deps-dev): bump jest-junit from 6.3.0 to 6.4.0
2019-05-09 21:58:07 +02:00
Tobias Koppers 5ea4d2a4a2
Merge pull request #9086 from webpack/dependabot/npm_and_yarn/lint-staged-8.1.6
chore(deps-dev): bump lint-staged from 8.1.5 to 8.1.6
2019-05-09 21:57:54 +02:00
Tobias Koppers 7c5f3e758c
Merge pull request #9091 from EugeneHlushko/fix/grammar
fix(typo) remove redundant is
2019-05-09 21:57:36 +02:00
Joey Burzynski 6517aa1038
Updated Invalid URL Reference: "Getting Started"
Referenced URL returns 404: `https://webpack.js.org/get-started/` 
Updated to: `https://webpack.js.org/guides/getting-started`
2019-05-09 14:12:00 -04:00
Tobias Koppers 2e1e1799b1 4.31.0 2019-05-09 09:56:20 +02:00
Tobias Koppers b17543e0ba
Merge pull request #8919 from vincentrodriguez/errors-and-warnings-only-preset
Preset option for errors & warnings only
2019-05-09 09:52:41 +02:00
Tobias Koppers fed4c3d830
Merge pull request #8985 from webpack/dependabot/npm_and_yarn/react-dom-16.8.6
Bump react-dom from 16.8.5 to 16.8.6
2019-05-09 09:45:40 +02:00
Tobias Koppers d05435cf2c
Merge pull request #9062 from webpack/dependabot/npm_and_yarn/eslint-plugin-jest-22.5.1
chore(deps-dev): bump eslint-plugin-jest from 22.4.1 to 22.5.1
2019-05-09 09:43:41 +02:00
Tobias Koppers 8bf8b82732
Merge pull request #9066 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-4.2.0
chore(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0
2019-05-09 09:39:48 +02:00