Skip to content

Commit

Permalink
Remove hack thanks to output.format vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
guifromrio committed Feb 10, 2022
1 parent 3a732af commit 6bf27a5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
10 changes: 0 additions & 10 deletions HACK__patch_vite.ts

This file was deleted.

1 change: 0 additions & 1 deletion package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -10,8 +10,7 @@
"fmt": "prettier --write .",
"fmt.check": "prettier --check .",
"serve": "denon start",
"start": "npm run dev",
"postinstall": "deno run --allow-read --allow-write HACK__patch_vite.ts"
"start": "npm run dev"
},
"devDependencies": {
"@builder.io/qwik": "0.0.16-10",
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Expand Up @@ -10,6 +10,7 @@ export default defineConfig({
build: {
rollupOptions: {
output: {
'format': isServerBuild ? 'esm' : undefined,
chunkFileNames: 'q-[hash].js',
assetFileNames: 'q-[hash].[ext]',
},
Expand Down

0 comments on commit 6bf27a5

Please sign in to comment.