diff --git a/apps/website/postcss.config.js b/apps/website/postcss.config.js new file mode 100644 index 0000000..57bd400 --- /dev/null +++ b/apps/website/postcss.config.js @@ -0,0 +1,7 @@ +// eslint-disable-next-line unicorn/prefer-module +module.exports = { + plugins: { + autoprefixer: {}, + tailwindcss: {}, + }, +} diff --git a/apps/website/postcss.config.mjs b/apps/website/postcss.config.mjs deleted file mode 100644 index ebf881f..0000000 --- a/apps/website/postcss.config.mjs +++ /dev/null @@ -1,6 +0,0 @@ -export default { - plugins: { - autoprefixer: {}, - tailwindcss: {}, - }, -} diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json index 9702880..2425817 100644 --- a/apps/website/tsconfig.json +++ b/apps/website/tsconfig.json @@ -24,13 +24,6 @@ "~/*": ["./*"] } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "../../tools/**/*.ts", - "tailwind.config.ts" - ], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "../../tools/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/tailwind-plugin-palette/package.json b/packages/tailwind-plugin-palette/package.json index ea3e225..a952d34 100644 --- a/packages/tailwind-plugin-palette/package.json +++ b/packages/tailwind-plugin-palette/package.json @@ -19,7 +19,7 @@ "./dist" ], "scripts": { - "build": "bunchee", + "build": "bunchee --external @material/material-color-utilities,culori", "dev": "bunchee -w" }, "dependencies": { @@ -30,8 +30,6 @@ "tailwindcss": "^3.4.1" }, "peerDependencies": { - "@material/material-color-utilities": ">=0.2.0", - "culori": ">=4.0.0", "tailwindcss": ">=3.4.0" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 81b5dc0..6690700 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,12 +125,6 @@ importers: '@color-kit/palette': specifier: workspace:* version: link:../palette - '@material/material-color-utilities': - specifier: '>=0.2.0' - version: 0.2.7 - culori: - specifier: '>=4.0.0' - version: 4.0.1 devDependencies: bunchee: specifier: ^4.4.8