Skip to content

Commit

Permalink
Revert "chore(deps): update postcss-load-config"
Browse files Browse the repository at this point in the history
This reverts commit 485f432.
  • Loading branch information
EGOIST committed May 25, 2022
1 parent 485f432 commit 21d549c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 36 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -33,7 +33,7 @@
"execa": "^5.0.0",
"globby": "^11.0.3",
"joycon": "^3.0.1",
"postcss-load-config": "^4.0.0",
"postcss-load-config": "^3.0.1",
"resolve-from": "^5.0.0",
"rollup": "^2.74.1",
"source-map": "0.8.0-beta.0",
Expand Down
36 changes: 2 additions & 34 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/esbuild/postcss.ts
Expand Up @@ -17,7 +17,7 @@ export const postcssPlugin = ({
const configCache = new Map()

const getPostcssConfig = async (file: string) => {
const loadConfig: typeof import('postcss-load-config') = require('postcss-load-config')
const loadConfig = require('postcss-load-config')

if (configCache.has(file)) {
return configCache.get(file)
Expand Down
1 change: 1 addition & 0 deletions types.d.ts
@@ -1 +1,2 @@
declare module 'rollup-plugin-hashbang'
declare module 'postcss-load-config'

1 comment on commit 21d549c

@vercel
Copy link

@vercel vercel bot commented on 21d549c May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tsup – ./

tsup-git-main-egoist.vercel.app
tsup.vercel.app
tsup.egoist.sh
tsup-egoist.vercel.app

Please sign in to comment.