Skip to content

Commit

Permalink
chore(deps): update postcss-load-config
Browse files Browse the repository at this point in the history
  • Loading branch information
EGOIST committed May 25, 2022
1 parent 1602446 commit 485f432
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 5 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": "^3.0.1",
"postcss-load-config": "^4.0.0",
"resolve-from": "^5.0.0",
"rollup": "^2.74.1",
"source-map": "0.8.0-beta.0",
Expand Down
36 changes: 34 additions & 2 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 = require('postcss-load-config')
const loadConfig: typeof import('postcss-load-config') = require('postcss-load-config')

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

1 comment on commit 485f432

@vercel
Copy link

@vercel vercel bot commented on 485f432 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-egoist.vercel.app
tsup-git-main-egoist.vercel.app
tsup.vercel.app
tsup.egoist.sh

Please sign in to comment.