File: babel.config.js

package info (click to toggle)
node-exports-loader 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 896 kB
  • sloc: javascript: 851; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const MIN_BABEL_VERSION = 7;

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

  return {
    presets: [
      [
        '@babel/preset-env',
        {
          targets: {
            node: '10.13.0',
          },
        },
      ],
    ],
  };
};