Skip to content

Commit

Permalink
fix(cssnano): replace opencollective with funding field. (#1047)
Browse files Browse the repository at this point in the history
Fix #1046
The opencollective package breaks some CI setups,
so replace it with the funding field, the same way as postcss.
  • Loading branch information
ludofischer committed Apr 12, 2021
1 parent 2bde303 commit 3dee7c5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/cssnano/package.json
Expand Up @@ -7,10 +7,9 @@
"bundle-size": "webpack --json --config src/__tests__/_webpack.config.js | webpack-bundle-size-analyzer",
"prebuild": "del-cli dist",
"build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.js --out-dir dist --ignore \"**/__tests__/\"",
"prepublish": "yarn build",
"postinstall": "opencollective-postinstall"
"prepublish": "yarn build"
},
"collective": {
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/cssnano"
},
Expand All @@ -27,8 +26,7 @@
"dependencies": {
"cosmiconfig": "^7.0.0",
"cssnano-preset-default": "^5.0.0",
"is-resolvable": "^1.1.0",
"opencollective-postinstall": "^2.0.2"
"is-resolvable": "^1.1.0"
},
"homepage": "https://github.com/cssnano/cssnano",
"author": {
Expand Down

0 comments on commit 3dee7c5

Please sign in to comment.