vant/packages/vant-popperjs/rollup.config.js
2020-11-25 21:58:50 +08:00

13 lines
309 B
JavaScript

import path from 'path';
import babel from '@rollup/plugin-babel';
import nodeResolve from '@rollup/plugin-node-resolve';
export default {
input: path.join(__dirname, 'src', 'index.ts'),
output: {
dir: 'lib',
format: 'cjs',
},
plugins: [nodeResolve(), babel({ babelHelpers: 'runtime' })],
};