Commit Graph

6739 Commits

Author SHA1 Message Date
Tobias Koppers 551384a26e
Merge pull request #7493 from webpack/bugfix/issue-7492
fixes #7492
2018-06-07 08:25:17 +02:00
Tobias Koppers b4246451bb
Merge pull request #6542 from mc-zone/feature/module-build-error-with-loader-name
Add loader name to error message. Resolves #2878
2018-06-06 21:32:15 +02:00
Tobias Koppers 23beeab7e0
Merge pull request #7345 from stepharr/master
Fixing grammar issues in webpack example #6906
2018-06-06 21:10:29 +02:00
Tobias Koppers 86016594db update README too 2018-06-06 20:45:02 +02:00
Tobias Koppers ba2f247116 fix typing problem 2018-06-06 18:49:20 +02:00
Tobias Koppers 79a1defd88 fixes #7492 2018-06-06 16:37:23 +02:00
Tobias Koppers 94c0f0b122
Merge pull request #7490 from xtuc/feat-wasm-some-cleanups
wasm some cleanups
2018-06-06 15:30:32 +02:00
Sven SAULEAU 0288128cb9
feat: get start func from context 2018-06-06 11:06:40 +02:00
Sven SAULEAU 6e85ac5468
feat: use function matcher 2018-06-06 10:39:06 +02:00
Tobias Koppers 956c0b12dc 4.11.1 2018-06-06 09:02:56 +02:00
Tobias Koppers 5fee19d687
Merge pull request #7487 from webpack/bugfix/no-wasm-import-mangle
allow to disable wasm import mangle
2018-06-06 08:34:42 +02:00
Tobias Koppers 8e3be48da4 allow to disable wasm import mangle
disable it by default (temporary)
2018-06-05 23:49:02 +02:00
Tobias Koppers 7765901cc6 fix test case 2018-06-05 16:50:37 +02:00
Tobias Koppers ca8edc0d6d Fix test case for changed error message 2018-06-05 13:41:14 +02:00
Tobias Koppers 6a7e79a443 Convert non-Error errors into Errors 2018-06-05 13:41:00 +02:00
Tobias Koppers e2fe2009d9 4.11.0 2018-06-05 13:25:06 +02:00
Tobias Koppers 1886ee0f3f improve final loader not string/buffer message
add test case
2018-06-05 11:58:10 +02:00
Tobias Koppers b1a640e005
Merge pull request #7479 from webpack/fix/5153
Ensure static and dynamic imports use the same binding
2018-06-05 11:55:34 +02:00
Tobias Koppers b5b1e86934
Merge pull request #7478 from webpack/fix/5889
Ensure `require` is truthy
2018-06-05 11:22:51 +02:00
Florent Cailhol aa6de5723c Ensure static and dynamic imports use the same binding 2018-06-05 11:06:22 +02:00
Tobias Koppers c77030573d multi line message when "from" is set 2018-06-05 10:43:10 +02:00
Florent Cailhol 348057fa0a Add a test case to invalidate #5889 2018-06-05 10:31:16 +02:00
Tobias Koppers 9fbe914078 Merge branch 'master' into feature/module-build-error-with-loader-name
# Conflicts:
#	lib/ModuleBuildError.js
#	lib/ModuleError.js
#	lib/ModuleWarning.js
2018-06-05 10:23:00 +02:00
Tobias Koppers 5653732d53
Merge pull request #7476 from sandersn/fix-template-tag-syntax
Fix template tag syntax
2018-06-05 10:14:41 +02:00
Nathan Shively-Sanders c97107367a Fix template tag syntax
In 2.9 and earlier, Typescript allowed braces around the name introduced
by the `@template` tag, even though this syntax is non-standard. In 3.0,
Typescript introduces a more complex `@template` syntax that uses braces
for specifying the constraint of a type parameter:

```js
/** @template {Constraint} T -- By analogy with param syntax:
 *  @param {T} name
 */
function f(name) { ... }
```

That means that the syntax `/** @template {T} */` is illegal. This PR
fixes the uses of the `@template` tag ahead of Typescript 3.0 as well as
typescript@next.
2018-06-04 14:22:20 -07:00
Tobias Koppers 19389b7216
Merge pull request #7447 from xtuc/fix-wasm-check-for-invalid-signatures
wasm: finalizer for checking exports
2018-06-04 21:11:21 +02:00
Tobias Koppers 78b31936c3 add checkWasmTypes flag, enabled it only in production 2018-06-04 20:14:08 +02:00
Tobias Koppers bc6b5b0c4f
Merge pull request #7444 from MLoughry/prefetch-from-entry
Prefetch and preload  from entry chunk.
2018-06-04 20:07:29 +02:00
Tobias Koppers c65d1642a4 fix test case 2018-06-04 18:39:52 +02:00
Tobias Koppers 591521b310 support node.js 10 and 8 2018-06-04 18:27:19 +02:00
Tobias Koppers c77ec391d2 revert afterStartup and trigger prefetch before startup
This makes more sense as startup could take a while
and we can use the time to fetch some resources
2018-06-04 18:10:00 +02:00
Tobias Koppers dc0e1ec480 Merge branch 'master' into prefetch-from-entry 2018-06-04 17:50:08 +02:00
Tobias Koppers db668b7549 move fake document to ConfigTestCases
minor style issues
add test case
2018-06-04 17:49:55 +02:00
Tobias Koppers 5ecf74917f finish plugin and tests 2018-06-04 16:23:41 +02:00
Tobias Koppers 822c252a09 Merge branch 'master' into fix-wasm-check-for-invalid-signatures
# Conflicts:
#	declarations.d.ts
#	lib/wasm/WebAssemblyParser.js
#	package.json
#	yarn.lock
2018-06-04 13:33:26 +02:00
Tobias Koppers fe3ca80267
Merge pull request #7462 from webpack/feature/match-resource
Add matchResource feature (for loaders)
2018-06-04 13:09:22 +02:00
Tobias Koppers 2491f5ddf2
Merge pull request #7471 from webpack/fix/7470
Add a test case about nodeEnv
2018-06-04 13:08:52 +02:00
Tobias Koppers 310cf6cb04
Merge pull request #7409 from ronanamsterdam/feature/webpack-options-compile-errors-warning
Issue #7395: webpack import options comments warning propagation update
2018-06-04 13:08:27 +02:00
Tobias Koppers f65a24d9db move warning into separate file 2018-06-04 11:20:43 +02:00
Tobias Koppers 9528aa5cbd fixup test and error 2018-06-04 11:18:32 +02:00
Tobias Koppers 34b6b13616 Pass message to base class 2018-06-04 11:18:32 +02:00
Tobias Koppers 6789a5e144 Merge branch 'master' into feature/webpack-options-compile-errors-warning 2018-06-04 11:18:20 +02:00
Tobias Koppers 949890acdf
Merge pull request #7472 from webpack/bugfix/error-origin-loc
Cleanup error location and origin information
2018-06-04 11:16:48 +02:00
Tobias Koppers 53103a9690 Cleanup error location and origin information 2018-06-04 10:35:46 +02:00
Florent Cailhol 0743250281 Add a test case about nodeEnv 2018-06-04 09:49:08 +02:00
Tobias Koppers e9195c40dc
Merge pull request #7466 from xtuc/fix-wasm-keep-imports
wasm: keep imports
2018-06-04 09:02:50 +02:00
Tobias Koppers 53f7debdc9 Improve CI log cleanup further 2018-06-04 07:24:12 +02:00
Tobias Koppers 2ca1161ad5 Improve CI log cleanup 2018-06-04 07:16:15 +02:00
Tobias Koppers e82b849d19
Merge pull request #7467 from webpack/bugfix/reexport-wasm-global
handle reexported wasm globals
2018-06-03 16:56:50 +02:00
Tobias Koppers 9a6d9c7a06 rename to externalExports 2018-06-02 18:00:22 +02:00