☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-core
/
test
/
fixtures
/
async
/
config-cache
/
babel.config.js
☽
☼
packages/babel-core/test/fixtures/async/config-cache/babel.config.js
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
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
};