Skip to content

Commit

Permalink
fix: tmp file os cache
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed Nov 16, 2023
1 parent c33092b commit 2cac428
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
10 changes: 10 additions & 0 deletions playground/spa/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
> 0.01%
not dead
last 4 versions
not ie <= 11
chrome 64
edge 79
firefox 67
opera 51
safari 11
defaults
7 changes: 1 addition & 6 deletions playground/spa/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ 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'],
},
},
babel: true,
}),
injectScripts((manifest) => [
{
Expand Down

0 comments on commit 2cac428

Please sign in to comment.