File: rollup.config.js

package info (click to toggle)
node-puka 1.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 552 kB
  • sloc: makefile: 8; sh: 2
file content (21 lines) | stat: -rw-r--r-- 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import babel from 'rollup-plugin-babel';

export default {
  input: 'src/index.js',
  output: {
    file: 'dist/index.js',
    format: 'cjs',
  },
  plugins: [
    babel({
      babelrc: false,
      plugins: [
        'external-helpers',
        'transform-class-properties',
        'transform-es2015-destructuring',
        'transform-es2015-parameters',
        'transform-es2015-spread',
      ],
    }),
  ],
};