Skip to content

Commit 543bbe1

Browse files
hiroppyknagaitsev
authored andcommitted
chore(babel): use api.cache (webpack#2157)
1 parent 67b1377 commit 543bbe1

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.babelrc

Lines changed: 0 additions & 8 deletions
This file was deleted.

babel.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
'use strict';
2+
3+
module.exports = (api) => {
4+
api.cache(true);
5+
6+
return {
7+
presets: ['@babel/preset-env'],
8+
env: {
9+
test: {
10+
plugins: ['@babel/plugin-transform-runtime'],
11+
},
12+
},
13+
};
14+
};

0 commit comments

Comments
 (0)