mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
feat(Lazyload): support Vue 3
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
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' })],
|
||||
};
|
Reference in New Issue
Block a user