mirror of
https://github.com/fullstack-cash/explorer.fullstack.cash.git
synced 2026-09-22 17:22:05 -07:00
fix(gatsby): allow amending autoprefixer options (#24907)
* fix(gatsby): allow amending autoprefixer options - Changed types for PostCSS plugins from webpack `Plugin` type to PostCSS `Plugin<T>` type. - Added a check of each plugin's `postcssPlugin` property; a plugin with a `postcssPlugin` property equal to `autoprefixer` will have its options assigned to the default. * fix(webpack): allow amending autoprefixer options - Amended the change to use object spread instead of `Object.assign()`. - Added a test to check that the default options are applied when called with no options. - Added a test to check that when called with options, these will be applied to the defaults and override where applicable. * fix(webpack): allow amending autoprefixer options - Remove unnecessary `expect` clauses. Co-authored-by: Luke Xavier Symington <lxsymington@gmail.com>
This commit is contained in:
co-authored by
Luke Xavier Symington
parent
8c02d4ef3c
commit
4f312e6c11
@@ -1884,12 +1884,7 @@
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/node@*":
|
||||
version "14.0.13"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.13.tgz#ee1128e881b874c371374c1f72201893616417c9"
|
||||
integrity sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA==
|
||||
|
||||
"@types/node@^8.5.7":
|
||||
"@types/node@*", "@types/node@^8.5.7":
|
||||
version "8.10.61"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.61.tgz#d299136ce54bcaf1abaa4a487f9e4bedf6b0d393"
|
||||
integrity sha512-l+zSbvT8TPRaCxL1l9cwHCb0tSqGAGcjPJFItGGYat5oCTiq1uQQKYg5m7AF1mgnEBzFXGLJ2LRmNjtreRX76Q==
|
||||
|
||||
Reference in New Issue
Block a user