Skip to content

[object Object] is not a PostCSS plugin #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dustinhorton opened this issue Sep 25, 2020 · 0 comments
Open

[object Object] is not a PostCSS plugin #4

dustinhorton opened this issue Sep 25, 2020 · 0 comments

Comments

@dustinhorton
Copy link

"postcss-100vh-fix": "^1.0.0",

used via:

"gatsby-plugin-sass": "^2.3.13",
[]

const autoprefixer = require('autoprefixer')
const postCss100VhFix = require('postcss-100vh-fix')
const postCssDiscardDuplicates = require('postcss-discard-duplicates')
const postCssFlexbugsFixes = require('postcss-flexbugs-fixes')
const postCssFocus = require('postcss-focus')

[]

module.exports = {
  []
  plugins: [
    []
    {
      resolve: 'gatsby-plugin-sass',
      options: {
        cssLoaderOptions: {
          camelCase: false,
        },
        postCssPlugins: [
          autoprefixer(),
          postCss100VhFix(),
          postCssDiscardDuplicates(),
          postCssFlexbugsFixes(),
          postCssFocus(),
        ],
      },
    },
   []

no such error before adding postcss-100vh-fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant