/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/configCases/async-module/generator-lowering/webpack.config.js
14 строк
359 B
Alexander Akait
feat: compile async modules to generators for targets without async/await (#21410)
14 июл 2026, 09:10
Не верифицирован
14 июл 2026, 09:10
117ae08
Код
Авторство
О чём код?
"use strict"; /** @type {import("../../../../").Configuration} */ module.exports = { // `es2016` supports generators but not `async`/`await`, so async modules are // lowered to generator functions instead of emitting `async`/`await`. target: ["node", "es2016"], optimization: { concatenateModules: false }, experiments: { topLevelAwait: true } };