fix(types): dont bundle vue deps; reexport vite.Plugin

pull/3009/head
Divyansh Singh 3 years ago
parent 0eef3c0f4d
commit afbf563ec4

@ -78,7 +78,7 @@ const clientTypes: RollupOptions = {
format: 'esm',
file: 'dist/client/index.d.ts'
},
external,
external: [...external, /@vue/],
plugins: [
dts({ respectExternal: true }),
{

@ -7,7 +7,7 @@ export * from './init/init'
export * from './contentLoader'
export * from './postcss'
export { defineLoader, type LoaderModule } from './plugins/staticDataPlugin'
export { loadEnv } from 'vite'
export { loadEnv, type Plugin } from 'vite'
// shared types
export type {

Loading…
Cancel
Save