Tobias Koppers
c01cb97609
Merge commit 'ba703401d580ad623af17fe96ed98b4d801e0313'
...
# Conflicts:
# test/__snapshots__/StatsTestCases.test.js.snap
2018-05-29 15:37:58 +02:00
Tobias Koppers
1e09650e60
Merge pull request #7411 from aleen42/master
...
fix: unsupported function defined inside a condition block. #7263
2018-05-29 15:33:45 +02:00
Tobias Koppers
b756012d34
Merge pull request #7430 from webpack/bugfix/side-effects-reasons
...
fixup reasons when redirecting dependencies for side-effects
2018-05-29 15:32:25 +02:00
Tobias Koppers
351c9936e6
fixup reasons when redirecting dependencies for side-effects
...
show reason explanation in stats
fixes #7428
2018-05-29 14:12:31 +02:00
Tobias Koppers
bfdb769e08
Merge pull request #7427 from ronanamsterdam/feature/test-readme-update
...
Issue #7424 : test/README update with jest snapshot flow
2018-05-29 13:52:11 +02:00
Ronan Amsterdam
570571397a
Issue #7424 : test/README update with jest snapshot flow
2018-05-29 18:54:12 +08:00
Tobias Koppers
504148c79b
add test cases for #7401
2018-05-29 12:40:32 +02:00
aleen42
24072ab652
chore: fix snap for #7263
2018-05-29 14:54:24 +08:00
Tobias Koppers
023d4ca945
add more test cases
2018-05-29 00:45:39 +02:00
Tobias Koppers
e367b938f4
add test cases for unused exports
2018-05-28 23:59:57 +02:00
Tobias Koppers
909a2ac8d0
fix small bug in wasm runtime
2018-05-28 23:35:29 +02:00
Tobias Koppers
770847171d
Merge branch 'master' into bugfix/namespace-object
...
# Conflicts:
# lib/RuntimeTemplate.js
2018-05-28 22:42:21 +02:00
Tobias Koppers
1f2584e65f
Merge pull request #7408 from webpack/bugfix/side-effects-caching
...
SideEffectsPlugin don't modify cache entries
2018-05-28 22:34:04 +02:00
Tobias Koppers
29cbf9863a
Merge pull request #7275 from webpack/feature/wasm-mangling
...
WASM: Tree Shaking, Export and import name mangling
2018-05-28 22:32:01 +02:00
Sven SAULEAU
fd4e84b36f
fix(wasm): correct initializer type for rewritten globals
2018-05-28 14:55:40 +02:00
Tobias Koppers
ae8d6741d7
fix bug with incorrectly emitted modules
2018-05-27 21:53:22 +02:00
Tobias Koppers
115a72ce50
SideEffectsPlugin don't modify cache entries
...
fixes #7400
2018-05-27 21:53:21 +02:00
Tobias Koppers
ae6c7a4990
Merge pull request #7279 from cokencode/progress-plugin-bug-fix
...
Fix a bug where ProgressPlugin is not working properly with MultiComp…
2018-05-26 15:00:01 +02:00
Tobias Koppers
4cd0cf5b5c
Merge pull request #7379 from xtuc/refactor-use-wast-in-tests
...
switch to tests to wast
2018-05-25 22:41:30 +02:00
Florent Cailhol
55ce14387e
Add test case
2018-05-25 17:33:34 +02:00
Tobias Koppers
70c608cb21
Merge pull request #7387 from webpack/bugfix/record-string-ids
...
only record number ids
2018-05-25 11:59:48 +02:00
Tobias Koppers
d46e35e3af
Merge branch 'master' into feature/wasm-mangling
...
# Conflicts:
# yarn.lock
2018-05-25 11:07:59 +02:00
Tobias Koppers
69567a1db2
update test case to reflect change
2018-05-25 10:56:04 +02:00
Tobias Koppers
8af0320c3e
Merge pull request #7344 from asapach/master
...
feat: support tree shaking in DllPlugin
2018-05-25 10:48:08 +02:00
Tobias Koppers
374376d6dc
fixes #7382
2018-05-24 15:37:52 +02:00
Sven SAULEAU
00eafa6d3b
Update mem-access.wat
2018-05-24 14:16:20 +02:00
Sven SAULEAU
acc45fd806
refactor: switch to wast
2018-05-24 14:12:11 +02:00
Sven SAULEAU
7184bb4ac1
fix: keep decoding in wasm
2018-05-24 13:50:12 +02:00
Tobias Koppers
4a541303c9
Upgrade jest
...
increase timeout
fix hanging
avoid inspector in CI
setup jest caching
2018-05-24 12:52:48 +02:00
Sven SAULEAU
a9d9feeba7
refactor: switch to tests to wast
2018-05-23 18:13:25 +02:00
Tobias Koppers
8b19f20b40
Merge pull request #7365 from jdelStrother/stable-records
...
Sort the usedIds array in records
2018-05-22 17:43:10 +02:00
Tobias Koppers
19015b698c
fix problems with circular unneeded chunks
...
fixes #7363
fixes #7239
fixes #6587
2018-05-22 15:30:32 +02:00
Tobias Koppers
6692275704
Only put entries into the manifest
2018-05-22 13:24:40 +02:00
Jonathan del Strother
f8455657c5
Sort the usedIds array in records
...
This prevents unnecessary churn when version-controlling your records
2018-05-21 15:45:28 +01:00
Sven SAULEAU
ffeca24412
feat(wasm): pass arg in test
2018-05-21 14:43:55 +02:00
Jonathan del Strother
6bf9479af2
Don't record absolute paths for regexps used in dynamic requires
...
This avoids records like:
"src/dependencies sync ../../../../^/.//.*$": "./src/dependencies sync recursive ^\\.\\/.*$"
with the number of "../"s varying according to the depth of the folder you're building from.
Fixes #7339
2018-05-21 09:49:35 +01:00
Jonathan del Strother
8a6db447a8
Use snapshots for records tests
2018-05-21 09:40:09 +01:00
Aliaksei Sapach
6c0c52558c
feat: support tree shaking in DllPlugin
...
This change introduces a new `entryOnly` flag to the DllPlugin options which limits the exposed modules to only those configured as entry points. This allows module concatenation and dead code removal optimizations to take place.
2018-05-18 22:57:29 +03:00
William Lohan
b42646908d
fix: json with byte order mark
...
fixes issue #7330
2018-05-18 08:39:25 -07:00
Tobias Koppers
75db965170
update combination when split fails because of max requests
...
fixes #7323
2018-05-17 17:44:38 +02:00
Tobias Koppers
63a4145e3f
clear output directory on test start
2018-05-17 17:42:00 +02:00
Tobias Koppers
8e05ae25dc
Merge branch 'master' into feature/wasm-mangling
...
# Conflicts:
# package.json
# yarn.lock
2018-05-17 10:50:17 +02:00
Tobias Koppers
cbbe6f8cd0
add all examples from the WebAssembly explorer as tests
2018-05-17 10:20:28 +02:00
Florent Cailhol
0d89a45403
Add a test to check typeof transformation
2018-05-16 13:04:43 +02:00
Philipp Klein
d6efad856b
Allow serve property in webpack configuration
...
The server property is used to configure webpack-serve
(https://github.com/webpack-contrib/webpack-serve ).
Also adapt tests.
Fixes #7306
2018-05-15 16:12:54 +02:00
Jaehwan Moon
9c0036ba50
Add a test
2018-05-15 07:19:53 -04:00
Tobias Koppers
9560af5545
Merge pull request #7303 from odedniv/module-not-found
...
Align 'Cannot find module' message with native NodeJS
2018-05-15 08:57:11 +02:00
Oded Niv
17fd4d8b48
Align 'Cannot find module' message with native NodeJS
2018-05-15 09:24:16 +03:00
Tobias Koppers
687c03869f
Merge pull request #7270 from webpack/feature/banner_function
...
Allow banner to be specified as a function
2018-05-14 20:14:59 +02:00
Tobias Koppers
d5a648b28a
Merge pull request #7184 from byzyk/fix/allow-array-in-lib-root
...
fix: allow array of strings for `output.library.root`
2018-05-12 07:36:52 +02:00