Skip to content

Commit

Permalink
Merge pull request #321 from vim-jp-radio/feature/remove-minifier
Browse files Browse the repository at this point in the history
chore: remove html-minifier
  • Loading branch information
ryoppippi authored Oct 7, 2024
2 parents de96a51 + 4812524 commit 429f1a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 80 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"svelte-check": "^4.0.0",
"svelte-eslint-parser": "^0.41.0",
"svelte-preprocess-budoux": "^1.0.2",
"sveltekit-html-minifier": "^1.0.3",
"sveltweet": "^0.2.6",
"tslib": "^2.7.0",
"typescript": "^5.5.4",
Expand Down
77 changes: 4 additions & 73 deletions pnpm-lock.yaml

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

9 changes: 3 additions & 6 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { isDevelopment } from 'std-env';
import { budouxPreprocess } from 'svelte-preprocess-budoux';
import htmlMinifierAdaptor from 'sveltekit-html-minifier';

/** @param {...string} args */
function relativePath(...args) {
Expand Down Expand Up @@ -33,11 +32,9 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: htmlMinifierAdaptor(
adapter({
fallback: '404.html',
}),
),
adapter: adapter({
fallback: '404.html',
}),

typescript: {
config(config) {
Expand Down

0 comments on commit 429f1a1

Please sign in to comment.