Skip to content

Commit

Permalink
issue: #1231; revert vite.config.js plugins;
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Apr 25, 2023
1 parent 62cd1b3 commit 5419af6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { sveltekit } from '@sveltejs/kit/vite';
// import viteCompression from 'vite-plugin-compression';
import viteCompression from 'vite-plugin-compression';

/** @type {import('vite').UserConfig} */
const config = {
Expand All @@ -8,16 +8,16 @@ const config = {
// chunkSplitPlugin({ strategy: 'all-in-one' }), // DOC: vite-plugin-chunk-split
// progress(), // DOC: vite-plugin-compress
// c.compress() // DOC: vite-plugin-progress
// viteCompression(),
viteCompression(),
sveltekit()
],
// DOC: REF: [6]
// build: {
// rollupOptions: {
// output: {
// manualChunks: undefined
// }
// }
// }
build: {
rollupOptions: {
output: {
manualChunks: undefined
}
}
}
};
export default config;

0 comments on commit 5419af6

Please sign in to comment.