File: babel.config.js

package info (click to toggle)
node-exports-loader 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,164 kB
  • sloc: javascript: 817; makefile: 4
file content (19 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (7)
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: "14.15.0",
          },
        },
      ],
    ],
  };
};