Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Akait 17b9d03f27
fix: a lot of types 2025-04-07 16:09:05 +03:00
alexander.akait 055737dc0c refactor(types): more 2023-05-21 23:31:30 +03:00
alexander.akait 4f6dc32d38 chore: improve types 2023-04-21 19:22:33 +03:00
Ivan Kopeykin b89f397e3c handle more options 2022-03-01 17:16:49 +03:00
Ivan Kopeykin 9ccdb38998 mark dependencies 2020-05-31 12:48:45 +03:00
Tobias Koppers 2ab9ceccfd fix request in ImportContextDependency 2018-10-18 12:44:44 +02:00
Michael Ciniawsky af31196f88 feat(ImportContextDependency): make serializable 2018-10-17 21:25:44 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Tobias Koppers ea56916d53 rename `async` to `mode` in context options
`async: false` is now `mode: "sync"`
2017-10-16 14:49:51 +02:00
Tobias Koppers f024687067 Refactor ContextDependency to take an options object
merged with options object from async info
2017-10-16 13:19:53 +02:00
Tobias Koppers 9075637b39 Refactor contextOptions 2017-10-16 12:59:36 +02:00
Landon Crapo bc6c1be90c refactoring filter to include and other requested changes 2017-10-13 15:41:44 -06:00
Landon Crapo 5d1759fd4c modified import context filtering logic to filter on file names. 2017-10-13 15:41:02 -06:00
Simon Paris f16388a22d Fix #5750, which causes files to be missing from context modules when the g regex flag is used 2017-10-10 17:38:59 +08:00
Tobias Koppers 22e7d254ee Add webpackMode optios for import()
Allow lazy, lazy-once and eager mode for import()
Fix a bug which caused context chunks to be merged when using chunk name
Allow to work in env where there is no Promise.resolve
2017-05-05 09:03:24 +02:00
mc-zone b65432a2f1 Add specify chunk name feature for `import()`
Add specify chunk name feature for `import()` by following special comment block after the param:

  import('./foo' /* webpackChunkName = "myChunkName" */)

Thus we can use chunk name like `requre.ensure` and avoid conflicts with the specification.
2017-03-26 17:18:30 +08:00
Simon Legner c5b0dffa5f Fix name of contexts created using `import()` 2017-02-13 21:48:10 +01:00
timse ff30099bc3 refactor of ImportContextDependency to es6 (#3814) 2017-01-07 12:05:10 -06:00
Tobias Koppers 11eefd5841 added import(), fixes #3098 2016-12-03 11:50:44 +01:00