Skip to content

Commit

Permalink
feat: using rolldown vite
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin committed Jul 11, 2024
1 parent 7fc7994 commit c18d0d3
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"tsx": "^4.15.5",
"typescript": "^5.4.5",
"unbuild": "2.0.0",
"vite": "^5.2.12",
"vite": "/Users/likui/Github/rolldown-vite/packages/vite",
"vitest": "^1.6.0",
"vue": "^3.4.29"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-vue-jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"@vue/babel-plugin-jsx": "^1.2.2"
},
"devDependencies": {
"vite": "^5.2.12"
"vite": "/Users/likui/Github/rolldown-vite/packages/vite"
},
"peerDependencies": {
"vite": "^5.0.0",
"vite": "/Users/likui/Github/rolldown-vite/packages/vite",
"vue": "^3.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"homepage": "https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme",
"peerDependencies": {
"vite": "^5.0.0",
"vite": "/Users/likui/Github/rolldown-vite/packages/vite",
"vue": "^3.2.25"
},
"devDependencies": {
Expand All @@ -44,7 +44,7 @@
"rollup": "^4.18.0",
"slash": "^5.1.0",
"source-map-js": "^1.2.0",
"vite": "^5.2.12",
"vite": "/Users/likui/Github/rolldown-vite/packages/vite",
"vue": "^3.4.29"
}
}
2 changes: 1 addition & 1 deletion playground/vue-jsx/TsImport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</template>

<script setup lang="tsx">
import { foo } from './TsImportFile.js'
import { foo } from './TsImportFile'
const Bar = () => (
<div class="bar">
Expand Down
4 changes: 2 additions & 2 deletions playground/vue/TsImport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</template>

<script setup lang="ts">
import { foo } from '@/TsImportFile.js'
import { foo as foo2 } from '/@/TsImportFile.js'
import { foo } from '@/TsImportFile'
import { foo as foo2 } from '/@/TsImportFile'
</script>
68 changes: 59 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vitest.config.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
},
},
test: {
include: ['./playground/**/*.spec.[tj]s'],
include: ['./playground/vue/**/*.spec.[tj]s'],
setupFiles: ['./playground/vitestSetup.ts'],
globalSetup: ['./playground/vitestGlobalSetup.ts'],
testTimeout: timeout,
Expand Down

0 comments on commit c18d0d3

Please sign in to comment.