Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
only enable regenerator in transform-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
chentsulin committed Feb 3, 2017
1 parent 6dba324 commit 4b23d67
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion koa.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ module.exports = {
require('./'),
],
plugins: [
require('babel-plugin-transform-runtime'),
[
require('babel-plugin-transform-runtime'),
{
polyfill: false,
regenerator: true,
},
],
],
};

0 comments on commit 4b23d67

Please sign in to comment.