feat: extension use the same version as packages

This commit is contained in:
Simon
2026-03-12 00:37:43 +08:00
parent a9f462ed37
commit a74b7542ba
9 changed files with 20 additions and 68 deletions

View File

@@ -19,8 +19,7 @@ export default defineConfig({
vite: () => ({
plugins: [tailwindcss()],
define: {
__EXT_VERSION__: JSON.stringify(pkg.version),
__CORE_VERSION__: JSON.stringify(pkg.dependencies['@page-agent/core']),
__VERSION__: JSON.stringify(pkg.version),
},
optimizeDeps: {
force: true,