Debian Codegraph @

packages/babel-core/test/fixtures/async/config-cache/babel.config.js

raw
1 const wait = t => new Promise(r => setTimeout(r, t));
2
3 module.exports = function(api) {
4 api.cache.using(async () => {
5 await wait(50);
6 return 2;
7 })
8
9 return {
10 plugins: ["./plugin"],
11 };
12 };