| 12345678910111213141516 |
- import json from 'rollup-plugin-json';
- // rollup.config.js
- export default {
- input: './all_mock.js',
- output: {
- file: '../functions/mock/index.js',
- format: 'umd',
- name: 'mock',
- },
- plugins: [
- json({
- preferConst: true, // Default: false
- indent: ' ',
- }),
- ],
- };
|