Tobias Koppers
1ce758bce8
fix snapshot
2021-02-05 16:29:26 +01:00
Tobias Koppers
1ca9f85d4e
improve and align error message
2021-01-18 16:22:07 +01:00
Nitin Kumar
ea9f5c4fb8
tests: for invalid library name error message
2021-01-18 16:16:37 +01:00
Tobias Koppers
4da880e658
remove Array.prototype.reduce calls to simplify code
2020-01-21 09:45:25 +01:00
Tobias Koppers
d57820c53e
make RequestShortener simpler, only use relative path
2020-01-15 18:48:37 +01:00
Tobias Koppers
66d7ebd9a8
fix Errors for require.parent/main.require
2019-12-06 11:13:13 +01:00
Tobias Koppers
5261758bed
update test cases and snapshots
2019-11-04 21:11:16 +01:00
Tobias Koppers
fc04bf15bc
Do not show stack trace of errors in stats by default
...
Add new `stats.errorStack` option to display it anyway.
2019-10-15 07:43:37 +02:00
Tobias Koppers
fe790eea65
update eslint and lint-staged
2019-08-06 10:57:37 +02:00
Tobias Koppers
b2e7837288
replace Object.assign with object spread
2019-06-19 13:16:05 +02:00
Tobias Koppers
6db94536ad
Merge tag 'v4.34.0' into next
...
4.34.0
2019-06-13 10:51:12 +02:00
Tobias Koppers
e9c0d068dd
refactor filesystem interfaces
...
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +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
8bd62c353c
fix merge issue
2019-05-09 21:54:24 +02:00
Tobias Koppers
924daa105b
Use simpler/faster hash function to get a hash number
...
Use deterministic mangled names for exports
refactor assignDeterministicIds
rename __webpack_init__ function in wasm to ""
fix bug with incorrectly cached StaticExportsDependency
fix bug in hash logic of Module
2019-02-20 22:41:07 +01:00
Tobias Koppers
9181283029
fix newlines
2019-01-15 17:10:54 +01:00
Tobias Koppers
78cee8b319
simplify regexp
...
[^()]+\(?.*\)? is equal to .*
2019-01-15 15:14:03 +01:00
Tobias Koppers
4d87fffad3
include loc in snapshots
2019-01-15 15:09:52 +01:00
Steven Hargrove
e6864e4ac6
support windows for snapshot
2019-01-12 22:35:19 -05: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
Tobias Koppers
123b0a64e7
add plugin system for Stats presets, defaults, creation and printing
2018-12-18 22:07:14 +01:00
Florent Cailhol
9caaa664f7
Refactor webpack main
2018-12-09 15:32:03 +01:00
Tobias Koppers
a262b83580
remove globalPath and useChunkHash feature
...
It's no longer needed, because we hash the runtime how
2018-10-24 09:39:51 +02:00
Tobias Koppers
5b7987abf4
remove console.log
2018-10-17 21:25:46 +02:00
Tobias Koppers
3c244d9fc9
Optimize error origin handling and module trace
...
Improve warnings and errors sorting
2018-09-12 13:16:59 +02: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
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
Ma Cheng
957ee2a63e
Merge branch 'master' into feature/module-build-error-with-loader-name
2018-06-02 17:19:16 +08: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
mc-zone
1159935fe8
change tests to Jest
2018-05-01 22:44:37 +08:00
Ma Cheng
3e66954ec1
Merge branch 'master' into feature/module-build-error-with-loader-name
2018-05-01 21:34:27 +08:00
mc-zone
92a28df10a
add done()
2018-04-29 11:59:50 +08:00
mc-zone
9c13d51141
improve message format; prevent destructure crash; improve tests;
2018-03-18 22:56:36 +08:00
mc-zone
ce63b53522
remove loader origin name and purify
2018-03-02 17:57:46 +08:00
mc-zone
36303a0ae8
merge from master
2018-03-02 17:56:34 +08:00
Bazyli Brzóska
36e8e30875
run prettier on existing code
2018-02-25 11:46:17 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
mc-zone
d045d57e1f
falsy checking; improve tests; fix typo
2018-02-22 22:28:54 +08:00
mc-zone
16c1f9e42c
(from xxx) => (@ xxx); fix test
2018-02-22 08:50:47 +08:00
mc-zone
b09a76234c
fix beautify-lint
2018-02-22 01:12:32 +08:00
mc-zone
86d6bb094f
fix lint
2018-02-22 01:06:02 +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
Florent Cailhol
cd419d0546
Migrate integration tests to Jest
2018-01-24 17:29:57 +01:00
Tobias Koppers
18ae73dad4
Refactor chunk graph
...
Chunks are now always in ChunkGroups
ChunkGroups have parents and children, Chunks no longer have this
AsyncDependenciesBlocks point to a ChunkGroup instead of a list of chunks
Entrypoint is now a ChunkGroup (extends from it)
move stuff graph modification methods into GraphHelpers
Change chunk id recording to source-based
Chunks have parents, siblings and children in Stats
rename AutomaticCommonsChunksPlugin to SplitChunksPlugin
add request property to origin (ChunkGroup)
remove moveToParent from AggressiveMergingPlugin
fix issues with AggressiveSplittingPlugin
remove CommonsChunkPlugin
add optimization.runtimeChunk (RuntimeChunkPlugin)
fix a filename bug for initial chunks
remove extract-text-webpack-plugin from test suite
add DebugHash to help debugging hash issues
fix issues with entry modules in different chunk as runtime
redo optimization.splitChunks options
Compilation.entrypoints is now a Map
Compilation.chunkGroups has been added
remove some unittests
update examples
update tests with CommonsChunkPlugin
2018-01-19 19:21:30 +01:00