fix: some prop type issues

update: rollup.config.js & vite.config.ts & package.json
This commit is contained in:
Braks
2021-07-10 00:05:49 +02:00
parent 0603a12ee0
commit 303444f74d
7 changed files with 24 additions and 18 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const processEnv = isProd || isTesting ? 'production' : 'development';
export const baseConfig = ({ injectCSS = true } = {}) => ({
input: 'src/index.ts',
external: ['vue', 'vue-demi', (id) => id.includes('@babel/runtime')],
external: ['vue-demi', (id) => id.includes('@babel/runtime')],
onwarn(warning, rollupWarn) {
if (warning.code !== 'CIRCULAR_DEPENDENCY') {
rollupWarn(warning);