Wei
1b7f0e1e95
fix(commonjs-static): export unprovided variables ( #19303 )
2025-03-11 09:18:11 +03:00
alexander.akait
8a04c64e5e
refactor: code
2024-11-20 18:35:15 +03:00
Arka Pratim Chaudhuri
171bae7912
chore: add test cases without warning
2024-11-07 09:52:02 +05:30
Arka Pratim Chaudhuri
72bf754d5e
fixes : #18687
...
fix: produces correct code when 'output.iife' is false & 'output.library.type' is 'umd', & it gives a warning to the users.
2024-11-03 20:24:46 +05:30
fi3ework
7cacdb5685
feat: reduce unnecessary exports runtime
2024-07-10 11:46:24 +08:00
fi3ework
c54d4a4b1f
chore: use 'modern-module' as new type
2024-06-19 11:11:42 +08:00
fi3ework
f6b9af6ed0
feat: tree shakable output for module library
2024-06-19 11:11:41 +08:00
Tobias Koppers
102014bf54
fix target expression
...
fix externals
add test case
2022-01-10 14:33:34 +01:00
Tobias Koppers
77ed50425d
add support for import chunk loading with runtime chunk
2021-07-08 17:46:41 +02:00
Tobias Koppers
4da99d8254
add `module` library support, test and example
...
add test cases for `experiments.outputModule`
2021-06-23 14:49:14 +02:00
Tobias Koppers
6b3408d8ca
improve testing logic
2021-04-22 09:46:30 +02:00
Tobias Koppers
cb494c9a8b
fix returning exports from runtime for libraries
...
fixes #13165
2021-04-22 09:32:17 +02: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
Tobias Koppers
cc6f3d9113
fix regression when combining library + runtimeChunk + node target
...
related to https://github.com/vercel/next.js/pull/22187
2021-02-18 15:50:40 +01:00
Tobias Koppers
9f3950e571
add support for libraries combined with iife: false
...
fix missing runtime requirement for system.js context
fix inlining of modules when conflicting symbols are defined on top-level
2021-02-11 11:19:24 +01:00
Tobias Koppers
285b3565af
add test case for nested bundles with eval-source-map
2021-01-04 15:36:30 +01:00
Tobias Koppers
a874c81f46
avoid unnecessary replacement of `__webpack_require__` when nesting bundles
...
avoid wrapping externals in the eval() as this breaks nesting bundles
fixes #11277
fixes #12300
2021-01-04 15:33:25 +01:00
Tobias Koppers
659e8ab358
make ConfigTestCases templated to allow extending
2020-06-02 12:30:39 +02:00
Tobias Koppers
cbb6ee6809
test more test cases for typings and fix typing bug
2020-04-21 09:25:55 +02:00
Tobias Koppers
88e6c5e2a7
add library option to entry description
2020-02-26 17:36:16 +01:00
Tobias Koppers
f936aab240
add test case for "var" library type
2020-02-26 17:35:59 +01:00
Tobias Koppers
b34da271a1
add sync mode for chunk dependency startup in sync node target
...
fixes #9154
allow nesting webpack bundles (rename inner __webpack_require__)
to allow testing this
2019-05-20 22:53:58 +02:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Tobias Koppers
32ebbfd7c7
Beautify webpack configs
2018-01-22 08:51:35 +01:00
Tobias Koppers
de8fc51a6f
allow to export any property/export of the bundle
...
fixes #3929
2017-06-02 14:52:41 +02:00
Tobias Koppers
c123016b64
refactor library tests
2017-06-02 14:23:08 +02:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01: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