diff --git a/packages/renderer/package.json b/packages/renderer/package.json index fb1b6fe6a08..3a0a16413fd 100644 --- a/packages/renderer/package.json +++ b/packages/renderer/package.json @@ -41,7 +41,6 @@ "svelte-check": "^3.8.6", "svelte-eslint-parser": "^0.41.0", "svelte-fa": "^4.0.2", - "svelte-preprocess": "^6.0.2", "svelte-steps": "2.4.1", "tailwindcss": "^3.4.10", "tslib": "^2.7.0", diff --git a/packages/renderer/svelte.config.js b/packages/renderer/svelte.config.js deleted file mode 100644 index 509b3db8171..00000000000 --- a/packages/renderer/svelte.config.js +++ /dev/null @@ -1,33 +0,0 @@ -/********************************************************************** - * Copyright (C) 2022 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - ***********************************************************************/ - -import sveltePreprocess from 'svelte-preprocess'; -import { dirname, join } from 'path'; -import { fileURLToPath } from 'url'; - -const __dirname = dirname(fileURLToPath(import.meta.url)); - -export default { - // Consult https://github.com/sveltejs/svelte-preprocess - // for more information about preprocessors - preprocess: sveltePreprocess({ - postcss: { - configFilePath: join(__dirname, 'postcss.config.cjs'), - }, - }), -}; diff --git a/packages/ui/package.json b/packages/ui/package.json index 7398a1783f1..748956c5ae2 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -151,7 +151,6 @@ "svelte": "5.0.0-next.225", "svelte-check": "^3.8.6", "svelte-eslint-parser": "^0.41.0", - "svelte-preprocess": "^6.0.2", "tailwindcss": "^3.4.10", "tslib": "^2.7.0", "typescript": "^5.5.4", diff --git a/packages/ui/svelte.config.js b/packages/ui/svelte.config.js deleted file mode 100644 index 5d6c9c8caef..00000000000 --- a/packages/ui/svelte.config.js +++ /dev/null @@ -1,33 +0,0 @@ -/********************************************************************** - * Copyright (C) 2024 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * SPDX-License-Identifier: Apache-2.0 - ***********************************************************************/ - -import sveltePreprocess from 'svelte-preprocess'; -import { dirname, join } from 'path'; -import { fileURLToPath } from 'url'; - -const __dirname = dirname(fileURLToPath(import.meta.url)); - -export default { - // Consult https://github.com/sveltejs/svelte-preprocess - // for more information about preprocessors - preprocess: sveltePreprocess({ - postcss: { - configFilePath: join(__dirname, 'postcss.config.cjs'), - }, - }), -}; diff --git a/storybook/vite.config.js b/storybook/vite.config.js index b18671214fc..b44cdbb43f1 100644 --- a/storybook/vite.config.js +++ b/storybook/vite.config.js @@ -21,9 +21,6 @@ import { join } from 'path'; import * as path from 'path'; import { svelte } from '@sveltejs/vite-plugin-svelte'; import { svelteTesting } from '@testing-library/svelte/vite'; -import tailwindcss from 'tailwindcss'; -import autoprefixer from 'autoprefixer'; -import postcssImport from 'postcss-import'; import { defineConfig } from 'vite'; import { fileURLToPath } from 'url'; @@ -42,12 +39,6 @@ export default defineConfig({ '/@/': join(PACKAGE_ROOT, 'src') + '/', }, }, - css: { - transformer: 'postcss', - postcss: { - plugins: [tailwindcss, autoprefixer, postcssImport], - }, - }, plugins: [svelte(), svelteTesting()], test: { include: ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],