Commit Graph

54 Commits

Author SHA1 Message Date
Tobias Koppers b71e0ced35 Merge branch 'master' into johnnyreilly/master 2021-04-22 21:52:48 +02:00
Tobias Koppers 4e70b37579 test typings and fix type problems in loaders in the test suite 2021-04-22 21:48:47 +02:00
Tobias Koppers da2c5f286b add test case 2021-04-19 12:22:51 +02:00
Tobias Koppers e2fb89eed1 improve resolving of build dependencies when `exports` field is used 2021-04-06 13:58:36 +02:00
Tobias Koppers 8f3a16a49a improve handling of optional build dependencies 2021-04-06 11:28:41 +02:00
Tobias Koppers 103a51468b DefinePlugin takes care of module invalidation when values have changed
The options of the DefinePlugin no longer have to be covered by build dependencies
2021-03-15 15:19:42 +01:00
Tobias Koppers 8dcb90dbbd avoid making the package.json in context a build dependency 2021-03-06 16:36:14 +01:00
Tobias Koppers 50844eae3b add test case for ESM tracking 2021-01-13 23:54:15 +01:00
Tobias Koppers c75a9ef87f errors in initial cache no longer cause build dependencies to be ignored 2020-12-15 17:06:33 +01:00
Tobias Koppers 7597fe3baf make browserslist the default target when browserslist config is available 2020-09-28 13:48:13 +02:00
Tobias Koppers d6e637f33c add "snapshot" configuration to allow to configure how snapshots are created
expose snapshot options for module, resolve, buildDependencies and resolveBuildDependencies
move managedPaths and immutablePaths from config.cache to config.snapshot
add timestamp + hash snapshotting mode
use timestamp + hash mode by default in production and for buildDependencies
2020-08-26 01:27:13 +02:00
Gergely Nagy aea4fd97b5 do not evaluate constants in asm.js, fix IIFE mode detection
fixes #10283
2020-01-22 15:41:45 +01:00
Tobias Koppers 7733d2b1c1 fix infinite loop on circular inner graph references 2019-10-07 10:52:35 +02:00
Tobias Koppers dda231ed47 add test case 2019-09-08 16:03:16 +02:00
Tobias Koppers 4e2efb31de improve build dependencies test 2019-08-20 14:50:11 +02:00
Tobias Koppers 8d7ba7096c add build dependencies test case 2019-08-13 17:02:44 +02:00
Tobias Koppers 6db94536ad Merge tag 'v4.34.0' into next
4.34.0
2019-06-13 10:51:12 +02:00
Lex Alexander 2cd6489579 Added test to account for module parsing failure for binary files 2019-06-04 11:45:48 -07:00
Tobias Koppers aa78e27a44 fix splitting of windows newlines
move fixture
update snapshots
2019-06-04 14:48:46 +02:00
Tobias Koppers 45582c51e7 avoid loading from rule set, simplify 2019-06-03 17:00:50 +02:00
Lex Alexander 1c6e7a9344 feat(NormalModule/ModuleParseError): Show loaders used from config when module parsing fails
-Closes #9025
2019-05-29 14:11:49 -07:00
Tobias Koppers e4009e7695 Merge tag 'v4.31.0' into next
4.31.0
2019-05-09 21:38:10 +02:00
Merijn Wijngaard dc6dd515d3 Allow top-level return in script parsing. Fixes issue 8509 in master, like PR 8510 fixed it for 'next' 2019-04-18 09:37:41 +02:00
Steven Hargrove 82b7428a4c rewrite errors tests, cleanup, update snapshots 2019-01-12 22:35:12 -05:00
Steven Hargrove e6afd236c4 added tests for swallowed loader errors, fixed another swallowed error 2019-01-11 19:14:49 -05:00
Florent Cailhol e85d9d8447 Add namedChunkGroups tests 2018-12-28 09:56:11 +01:00
guybedford 00c95f36b0 allow top-level return 2018-12-16 21:27:04 +02:00
Lex Alexander 84bc9bce48 test(Compiler): Promisifed webpack returns errors as a return value
Fixes #8298
2018-11-04 09:40:51 +01:00
Abdulrahman Alkhelaifi 80c3e433c4 Handle module.require, require.main.require, and module.parent.require
- Resolve module.require dependencies

- Add require.main.require and module.parent.require as unsupported
2018-07-19 13:41:58 -07:00
Tobias Koppers 064967128e add test case for #7533 2018-06-19 21:41:23 +02:00
mc-zone 9c13d51141 improve message format; prevent destructure crash; improve tests; 2018-03-18 22:56:36 +08:00
mc-zone 36303a0ae8 merge from master 2018-03-02 17:56:34 +08:00
mc-zone d045d57e1f falsy checking; improve tests; fix typo 2018-02-22 22:28:54 +08:00
mc-zone 9cfb71122b improve tests 2018-02-22 01:02:01 +08:00
mc-zone a3243520dd add tests 2018-02-21 17:43:02 +08:00
Elod-Arpad Szopos 082dc17472 No errors plugin deprecate (#3570)
* added deprecation with unit test
* added deprecation for NoErrorsPlugin in favor of NoEmitOnErrorsPlugin with unit test
* add new NoEmitOnErrorsPlugin to exports and add an extra unit test to check that there is no warning when using it
* added test for NoEmitOnErrorsPlugin in case of error
* git ignore temporary test fixtures
2016-12-30 09:52:37 +01:00
Yuta Hiroto 79791a51e2 refactor(ArrayMap): update ArrayMap to es2015 class (#3613) 2016-12-28 21:10:02 -06:00
Sean Larkin 5f14559335 feat(performancebudgets): set warnings in console off by default, however should still display in stats (#3604) 2016-12-28 11:27:54 -06:00
Tobias Koppers e5cb6ac7dd added test cases for #2003 2016-05-06 13:38:21 +02:00
Tobias Koppers 2245c4acca Promise based chunk loading API
don't flag entry module with `0` id anymore
use extra argument in chunk instead
this allows to require entry points
2015-06-13 11:45:28 +02:00
Tobias Koppers d73181f78c moved stats tests 2015-04-28 23:09:37 +02:00
Tobias Koppers fc9b941c62 tests should not include version number 2015-04-26 22:56:55 +02:00
Tobias Koppers f36f4a9b73 workaround for different line endings 2015-04-26 21:43:51 +02:00
Tobias Koppers b758d86529 added Stats toString tests 2015-04-26 21:19:39 +02:00
Tobias Koppers 998870d9ee Warn about modules with matching names if case is ignored
fixes #210
2014-03-31 11:33:17 +02:00
Tobias Koppers d3a9712193 bug fixing 2014-02-03 18:12:19 +01:00
Tobias Koppers 392c6db063 more useful error when using require.extensions #104 2013-10-11 10:42:25 +02:00
Tobias Koppers 3dc62749a2 moved webworker template, added node.js template #57 2013-02-13 17:00:07 +01:00
Tobias Koppers d5b50eb14d fixed the watching stuff :) 2013-02-11 00:17:29 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00