mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
14 lines
330 B
JavaScript
14 lines
330 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.js'),
|
|
output: {
|
|
dir: 'lib',
|
|
format: 'cjs',
|
|
},
|
|
external: ['vue'],
|
|
plugins: [nodeResolve(), babel({ babelHelpers: 'runtime' })],
|
|
};
|