Blame view

node_modules/regenerator-preset/index.js 580 Bytes
ce4c83ff   wxy   初始提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  /**
   * Copyright (c) 2014-present, Facebook, Inc.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  module.exports = {
    plugins: [
      require("@babel/plugin-syntax-async-generators"),
      require("@babel/plugin-proposal-function-sent"),
      require("@babel/plugin-transform-classes"),
      require("@babel/plugin-transform-arrow-functions"),
      require("@babel/plugin-transform-block-scoping"),
      require("@babel/plugin-transform-for-of"),
      require("regenerator-transform").default
    ]
  };