mirror of
https://github.com/podman-desktop/podman-desktop
synced 2026-05-24 02:08:24 +00:00
chore: remove svelte-preprocess (#8588)
* chore: remove svelte-preprocess Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com> * fix: remove old configuration Signed-off-by: axel7083 <42176370+axel7083@users.noreply.github.com>
This commit is contained in:
parent
0e7f37015f
commit
07da357ed6
5 changed files with 0 additions and 77 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
},
|
||||
}),
|
||||
};
|
||||
|
|
@ -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}'],
|
||||
|
|
|
|||
Loading…
Reference in a new issue