Commit Graph

23 Commits

Author SHA1 Message Date
alexander.akait 636b5c5dba fix: types 2024-10-02 00:18:10 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 9943f3506a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 0b745968a2 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 4ee703f647 chore: improve jsdoc rules 2024-07-30 17:07:14 +03:00
alexander.akait be1d35eb02 fix(types): more 2024-03-18 18:50:56 +03:00
alexander.akait 4809421990 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait d58b0c9c26 refactor: types more 2023-05-22 00:47:28 +03:00
alexander.akait 055737dc0c refactor(types): more 2023-05-21 23:31:30 +03:00
Sean Larkin c20faeb785 fix lint and remove space from JSDoc type 2023-04-23 22:44:45 +00:00
Sean Larkin 4a1b8cefb9 refactor(types): add initial types to CommonJsExportsParserPlugin 2023-04-23 05:35:52 +00:00
Ivan Kopeykin b2fc854227 fix parser.evaluteExpression api 2022-03-15 15:37:17 +03:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 5c8c0e30cd fix crash when __esModule is called with defineProperty without value 2020-11-18 11:09:45 +01:00
Tobias Koppers f7443ea094 typo 2020-09-25 10:53:13 +02:00
Tobias Koppers 0d5be37d2b test and bug fixes 2020-08-18 08:02:43 +02:00
Tobias Koppers 71cf7f4dc8 add support for reexporting in CommonJS
and necessary refactoring + fixes for that
2020-08-17 21:32:47 +02:00
Tobias Koppers 44a5050b07 fix that using `module` in a ESM causes exports deopt 2020-05-19 02:07:26 +02:00
Tobias Koppers 853ec50b57 bugfixes
allow mangle even if object prototype export names are used
prevent mangling for object prototype export names in CommonJS
only treat Object.defineProperty for top-level this as export
replace Object.defineProperty correctly when value is in brakets
2019-12-21 20:32:25 +01:00
Tobias Koppers 3b4a7455df use parser state instead of module to store harmony/dynamic exports state
this is important for incremental build
2019-12-07 01:04:38 +01:00
Tobias Koppers 404e0f7c77 handle Object.defineProperty 2019-12-06 11:20:32 +01:00
Tobias Koppers d9a2b7997a refactor dynamic and harmony exports parser state
bailout when using AMD define
2019-12-06 11:13:15 +01:00
Tobias Koppers 782e4535ac Refactor how exportsType work
add flagged exportsType for __esModule flagged
add getExportsType to merge strict with exportsType
move CommonJsStuffPlugin into CommonJsPlugin
split CommonJsPlugin into imports and exports part
enable minimal tree shaking for CommonJs imports and exports
2019-12-06 11:13:08 +01:00