Commit Graph

8 Commits

Author SHA1 Message Date
Wei 1b7f0e1e95
fix(commonjs-static): export unprovided variables (#19303) 2025-03-11 09:18:11 +03:00
Tobias Koppers c7f93af138 refactor startup logic to better integrate with libraries
get rid of startupNoDefault and many custom logic regarding this in jsonp chunk loading
add onChunksLoaded runtime method to cover that for all chunk loading types
add `__webpack_runtime_id__` to access the current runtime
allow to use onChunksLoaded for other module types too
2021-03-08 20:25:09 +01:00
Bazyli Brzóska b579658d22 Merge branch 'profiling-race' into jest
# Conflicts:
#	lib/debug/ProfilingPlugin.js
#	test/ConfigTestCases.test.js
#	test/DependenciesBlockVariable.unittest.js
#	test/Examples.test.js
#	test/ExternalModule.unittest.js
#	test/HotTestCases.test.js
#	test/Schemas.lint.js
#	test/WebEnvironmentPlugin.unittest.js
#	test/cases/mjs/non-mjs-namespace-object-lazy/index.js
#	test/cases/runtime/module-caching/index.js
#	test/compareLocations.unittest.js
#	test/configCases/library/1-use-library/index.js
#	test/configCases/plugins/define-plugin/index.js
#	yarn.lock
2018-03-07 21:56:06 +01:00
Josh Soref f3c2de9fcf spelling: harmony 2018-02-26 02:31:00 +00:00
Bazyli Brzóska a6c2aca36f migrate should to expect, part 2 (manual) 2018-01-26 23:59:38 +01:00
Bazyli Brzóska 5a8083a930 migrate should to expect, part 1
used regexps:

([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\.should\.be\.eql
➡️
expect($1).toBe

expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\[
➡️
expect($1).toEqual([

expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\{
➡️
expect($1).toEqual({
2018-01-26 22:51:03 +01:00
Tobias Koppers c123016b64 refactor library tests 2017-06-02 14:23:08 +02:00
Tobias Koppers 66edde657e added libraryTarget commonjs-module
for commonjs wrapped harmony modules via `__esModule`

fixes #2945
2016-09-08 22:26:43 +02:00