Skip to content

Commit

Permalink
chore(babel): use api.cache (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroppy committed Jul 29, 2019
1 parent 0de4eba commit f80e2ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .babelrc

This file was deleted.

14 changes: 14 additions & 0 deletions babel.config.js
@@ -0,0 +1,14 @@
'use strict';

module.exports = (api) => {
api.cache(true);

return {
presets: ['@babel/preset-env'],
env: {
test: {
plugins: ['@babel/plugin-transform-runtime'],
},
},
};
};

0 comments on commit f80e2ae

Please sign in to comment.