Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 12, 2024
1 parent 46e12a7 commit 77c1c32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/vike-vue/src/+config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
export { config as default }

import type { Config } from 'vike/types'
import './utils/tsx-workaround.js'
import { ssrEffect } from './integration/ssrEffect.js'

export default {
const config = {
name: 'vike-vue',
require: {
vike: '>=0.4.191',
Expand Down
4 changes: 3 additions & 1 deletion packages/vike-vue/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
export { config as default }

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'node:path'
import dts from 'vite-plugin-dts'

export default defineConfig({
const config = defineConfig({
plugins: [vue(), dts(), assertExternal()],
build: {
emptyOutDir: true,
Expand Down

0 comments on commit 77c1c32

Please sign in to comment.