Skip to content

Commit

Permalink
fix(playground): define env
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jul 13, 2022
1 parent 0d484d2 commit 8183381
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions playground/vite.config.ts
Expand Up @@ -8,6 +8,9 @@ import Unocss from 'unocss/vite'
const resolve = (...paths: string[]) => path.resolve(__dirname, 'src', ...paths)

export default defineConfig({
define: {
'process.env.BABEL_TYPES_8_BREAKING': 'false',
},
plugins: [
Vue({
reactivityTransform: true,
Expand All @@ -24,11 +27,4 @@ export default defineConfig({
}),
Unocss(),
],
optimizeDeps: {
esbuildOptions: {
define: {
'process.env.BABEL_TYPES_8_BREAKING': 'false',
},
},
},
})

1 comment on commit 8183381

@vercel
Copy link

@vercel vercel bot commented on 8183381 Jul 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.