chore(vant-compat): use Rslib to build (#13231)

This commit is contained in:
neverland
2024-11-24 12:09:02 +00:00
committed by GitHub
parent 6dc6b4b5ca
commit effccb7d2d
3 changed files with 94 additions and 19 deletions
+12
View File
@@ -0,0 +1,12 @@
import { defineConfig } from '@rslib/core';
export default defineConfig({
lib: [
{ format: 'esm', syntax: ['Chrome 53'], dts: true },
{ format: 'cjs', syntax: ['Chrome 53'] },
],
output: {
target: 'web',
externals: ['vant'],
},
});