mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-04 15:56:28 +00:00
Clean up npm dependencies (#35508)
- Remove `minimatch`, was inadvertently re-introduced in https://github.com/go-gitea/gitea/pull/35482 - Remove `postcss-nesting`, originally introduced in https://github.com/go-gitea/gitea/pull/29746 to support some fork, but I'm now of the opinion we should not ship dependencies that we don't use ourselves. - Remove `eslint-plugin-no-jquery`, plugin is currently disabled because of compat issues with eslint 9 (https://github.com/wikimedia/eslint-plugin-no-jquery/issues/311)
This commit is contained in:
@@ -12,8 +12,6 @@ import {readFileSync, globSync} from 'node:fs';
|
||||
import {env} from 'node:process';
|
||||
import tailwindcss from 'tailwindcss';
|
||||
import tailwindConfig from './tailwind.config.ts';
|
||||
import tailwindcssNesting from 'tailwindcss/nesting/index.js';
|
||||
import postcssNesting from 'postcss-nesting';
|
||||
|
||||
const {EsbuildPlugin} = EsBuildLoader;
|
||||
const {SourceMapDevToolPlugin, DefinePlugin, EnvironmentPlugin} = webpack;
|
||||
@@ -172,7 +170,6 @@ export default {
|
||||
options: {
|
||||
postcssOptions: {
|
||||
plugins: [
|
||||
tailwindcssNesting(postcssNesting({edition: '2024-02'})),
|
||||
tailwindcss(tailwindConfig),
|
||||
],
|
||||
},
|
||||
|
Reference in New Issue
Block a user