Debian Codegraph @

packages/babel-core/test/fixtures/async/preset-plugin-promise/preset.js

raw symbols SCIP
1 const wait = t => new Promise(r => setTimeout(r, t));
2
3 // "Dynamic import"
4 const import_ = path => Promise.resolve(require(path));
5
6 module.exports = function preset(api) {
7 return {
8 plugins: [import_("./plugin")],
9 };
10 };