Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Nov 14, 2023
1 parent b77b22a commit 9dcf924
Show file tree
Hide file tree
Showing 21 changed files with 139 additions and 1,242 deletions.
2 changes: 2 additions & 0 deletions playground/spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/plugin-transform-react-constant-elements": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@vitejs/plugin-react": "^4.1.0",
Expand Down
6 changes: 6 additions & 0 deletions playground/spa/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ export default defineConfig(() => ({
outputDir: 'out',
destination: 'memory',
cacheDir: 'node_modules/.vite-plugin-public-typescript',
babel: {
config: {
plugins: ['@babel/plugin-transform-react-constant-elements'],
presets: ['@babel/preset-react'],
},
},
}),
injectScripts((manifest) => [
{
Expand Down
2 changes: 0 additions & 2 deletions playground/temp-spa/.browserslistrc

This file was deleted.

1 change: 0 additions & 1 deletion playground/temp-spa/.env

This file was deleted.

24 changes: 0 additions & 24 deletions playground/temp-spa/.gitignore

This file was deleted.

20 changes: 0 additions & 20 deletions playground/temp-spa/index.html

This file was deleted.

32 changes: 0 additions & 32 deletions playground/temp-spa/package.json

This file was deleted.

Loading

0 comments on commit 9dcf924

Please sign in to comment.