rollup.config.js 305 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import json from 'rollup-plugin-json';
// rollup.config.js
export default {
  input: './.roadhogrc.mock.js',
  output: {
    file: './functions/mock/index.js',
    format: 'umd',
    name: 'mock',
  },
  plugins: [
    json({
      preferConst: true, // Default: false
      indent: '  ',
    }),
  ],
};