Commit Graph

92 Commits

Author SHA1 Message Date
Wei 1b7f0e1e95
fix(commonjs-static): export unprovided variables (#19303) 2025-03-11 09:18:11 +03:00
alexander-akait 0992137f40 fix: types 2025-03-11 05:03:41 +03:00
Alexander Akait 7b4641f5ee
fix: types (#19291) 2025-03-07 16:12:22 +03:00
Alexander Akait b041f7a2e9
fix: set `output.iife` to `true` when `output.iife` is `false` and `output.library.type` is `umd` and output a warning 2024-11-20 19:02:57 +03:00
alexander.akait 8a04c64e5e refactor: code 2024-11-20 18:35:15 +03:00
alexander.akait 47adff9e94 fix: variable name conflict with concatenate and runtime code 2024-11-05 18:29:13 +03:00
Nitin Kumar eba41c692c chore: udpate dependencies 2024-10-14 08:32:08 +05:30
alexander.akait 636b5c5dba fix: types 2024-10-02 00:18:10 +03:00
alexander.akait b3f89a33c8 fix: types 2024-09-30 22:05:27 +03:00
alexander.akait adf2a6b7c6 fix: a lot of types 2024-08-06 06:08:48 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait c802a98f58 style: improve 2024-08-02 19:32:22 +03:00
alexander.akait 9943f3506a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait b9d9a5d9ff style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 500ee96dcb style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 5725254415 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 423e89b2c7 style: improve style of code 2024-08-02 19:32:13 +03:00
fi3ework 7cacdb5685 feat: reduce unnecessary exports runtime 2024-07-10 11:46:24 +08:00
fi3ework 86336d9894 fix: lint 2024-06-19 14:15:14 +08:00
fi3ework 475684c908 fix: should attach exports names on buildMeta 2024-06-19 11:13:05 +08:00
fi3ework 5cff7bd0e7 fix: assert output won’t be wrapped in IIFE 2024-06-19 11:11:46 +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
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait 7b4775cebe fix(types): fix some types 2024-03-21 15:16:51 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
ahabhgk 19028dcadc fix: non amd externals 2023-07-06 20:33:30 +08:00
alexander.akait 3092f7cb20 refactor(types): more 2023-06-22 03:59:10 +03:00
Burhanuddin Udaipurwala f906f61557 chore: run yarn lint 2023-05-26 21:36:16 +05:30
Burhanuddin Udaipurwala 839e2bf6ad refactor: use global runtime constants for webpack exports 2023-05-26 21:04:26 +05:30
alexander.akait fb7c0c637a refactor: strict types for assets and json and other 2023-05-25 01:09:00 +03:00
alexander.akait 2cb6f6a702 refactor: fix type 2023-05-01 13:39:11 +03:00
long76 8c20d74992 replace globalObject to amdContainer, add tests 2023-01-02 16:32:11 +03:00
long76 d371a69e58 fix library options 2022-12-22 22:14:02 +03:00
long76 0239355b5b fix: lint 2022-12-22 21:41:08 +03:00
long76 7b0788710a
fix some lint 2022-12-14 12:51:35 +03:00
long76 e45b75fa65
fix #16561 2022-12-14 12:31:27 +03:00
Ivan Kopeykin 806ee08c3f support arrow function in umd 2022-03-18 18:58:50 +03:00
Ivan Kopeykin cd3ec1da92 refactor top level declarations usage 2022-02-11 17:59:35 +03:00
Ivan Kopeykin de7ec7bc07 refactor top level declarations
- add topLevelDeclarations to code generation results
- set topLevelDeclarations=undefined if any child topLevelDeclarations=undefined
2022-02-07 17:29:38 +03:00
Ivan Kopeykin 58a2fd01c4 refactor top level declarations
- add topLevelDeclarations to code generation results
- set topLevelDeclarations=undefined if any child topLevelDeclarations=undefined
2022-02-07 17:21:36 +03:00
Tobias Koppers 102014bf54 fix target expression
fix externals

add test case
2022-01-10 14:33:34 +01:00
Jacob Smith 75c9912d38 add new `output.library.type` per Tobias's feedback 2021-12-18 20:17:50 +01:00
Jacob Smith 6e244074d4 WIP: generate static property assignment exports 2021-12-15 23:54:31 +01:00
Ivan Kopeykin edeaa6eb82 use "safe" global object 2021-11-23 20:40:03 +03:00
Yujun Jung 71fc88267f lint 2021-08-16 21:06:43 +09:00
Yujun Jung 99bf506310
Update lib/library/ModuleLibraryPlugin.js
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2021-08-16 20:53:17 +09:00
Yujun Jung 8dd94755b2
Update lib/library/ModuleLibraryPlugin.js
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2021-08-16 20:53:07 +09:00
Yujun Jung 57fcea48bf fix: exporting async module 2021-08-16 00:39:22 +09:00