File: .babelrc.js

package info (click to toggle)
node-uuid 8.3.2%2B~8.3.0-1~bpo10%2B1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 1,552 kB
  • sloc: javascript: 2,181; sh: 33; makefile: 30
file content (15 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module.exports = {
  presets: [],
  plugins: [],
  env: {
    commonjs: {
      presets: [['@babel/preset-env', { targets: { node: '8' }, modules: 'commonjs' }]],
    },
    esmBrowser: {
      presets: [['@babel/preset-env', { modules: false }]],
    },
    esmNode: {
      presets: [['@babel/preset-env', { targets: { node: '8' }, modules: false }]],
    },
  },
};