webpack/test/configCases/async-module/environment-not-support-asy.../warnings.js

28 lines
646 B
JavaScript
Raw Normal View History

2024-01-14 18:11:12 +08:00
module.exports = [
[
2024-01-16 10:25:30 +08:00
{ moduleName: /tla\.js/ },
2024-01-14 18:11:12 +08:00
/The generated code contains 'async\/await'/,
2024-01-16 10:25:30 +08:00
/"topLevelAwait"/
2024-01-14 18:11:12 +08:00
],
[
2024-01-16 10:25:30 +08:00
{ moduleName: /external \["import\.js","request"\]/ },
2024-01-14 18:11:12 +08:00
/The generated code contains 'async\/await'/,
2024-01-16 10:25:30 +08:00
/"external import"/
],
[
{ moduleName: /external \["module\.js","request"\]/ },
/The generated code contains 'async\/await'/,
/"external module"/
],
[
{ moduleName: /external "Promise\.resolve\('promise\.js'\)"/ },
/The generated code contains 'async\/await'/,
/"external promise"/
],
[
{ moduleName: /wasm\.wat/ },
/The generated code contains 'async\/await'/,
/"asyncWebAssembly"/
2024-01-14 18:11:12 +08:00
]
];