File: .babelrc.js

package info (click to toggle)
node-uuid 8.3.2+~8.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,540 kB
  • sloc: javascript: 2,182; 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 }]],
    },
  },
};