Git Product home page Git Product logo

gatsby-plugins's People

Contributors

christopherbiscardi avatar github-actions[bot] avatar jbolda avatar nickymeuleman avatar spences10 avatar trevorblades avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gatsby-plugins's Issues

[gatsby-plugin-printer] Rollup requires that your Babel configuration keeps ES6 module syntax intact

After upgrading our project to Gatsby V3, builds now fail with the following output on Netlify:

error "gatsby-plugin-printer" threw an error while running the onPostBuild lifecycle:
Rollup requires that your Babel configuration keeps ES6 module syntax intact. Unfortunately it looks like your configuration specifies a module transformer to replace ES6 modules with another module format. To continue you have to disable it.
Most commonly it's a CommonJS transform added by @babel/preset-env - in such case you should disable it by adding `modules: false` option to that preset (described in more detail here - https://github.com/rollup/rollup-plugin-babel#modules ).
 
Error: Rollup requires that your Babel configuration keeps ES6 module syntax intact. Unfortunately it looks like your configuration specifies a module transformer to replace ES6 modules with another module format. To continue you have to disable it.
Most commonly it's a CommonJS transform added by @babel/preset-env - in such case you should disable it by adding `modules: false` option to that preset (described in more detail here - https://github.com/rollup/rollup-plugin-babel#modules ).

[gatsby-plugin-printer] Support for "Serverless" hosting builds (Netlify/Zeit)

Implementing this all locally was a breeze, but unfortunately, I had to bypass running "gatsby-plugin-printer" on my Netlify build because it doesn't work out of the box with it.

There is a way to enable puppeteer on a Netlify build utilizing lambda functions, see here: https://bitsofco.de/how-to-use-puppeteer-in-a-netlify-aws-lambda-function/

I am wondering if there is an easy way to implement something like this or at least some first thoughts on how I could go about achieving this.

Thanks so much! This plugin is an absolute lifesaver!

[gatsby-plugin-printer]: no graphql query results

Hi!

I followed along with https://lannonbr.com/blog/2019-11-10-og-images/ to get screenshots.

No screenshots are being taken.
After some investigating it appears the internal graphql query (in gatsby-node of this plugin) is not returning any results, hence puppeteer never tries to take screenshots.

More info here:
NickyMeuleman/gatsby-theme-nicky-blog#2

edit: after way too long I double checked myself and discovered that while I was running gatsby clean && gatsby develop, I did not do the clean step before build.
You even told me to rm -rf .cache && gatsby build in discord (emphasis mine).

After 3 times (why 3? That's odd. Definition of insanity etc, etc.) times running gatsby clean && gatsby build the images started showing up in the public folder.

[gatsby-plugin-printer] Need a more iterative devtool

currently you have to build to use the tool, it'd be nice if you could see all the images on a page or something, maybe iframe them all and execute just like we do in puppeteer? but on a ___printer gatsby page

[gatsby-plugin-devtips]

The devtips.json file should include the group name or a slug to enable linking back to the collection:

{
    "id": "b6d4df74-dcb0-54a6-9225-ab7c4e43ac53",
    "tweet": "bat (https://github.com/sharkdp/bat) is a cat replacement that includes syntax highlighting, line numbers, and more.",
    "images": [
      "/devtip-images/cli-bat-replaces-cat-0.png"
    ],
+  collection: 'cli',
+  url: '/devtips/cli'
  }

docs

Build a single site that's like gatsby-plugins.christopherbiscardi.com or something for docs. Maybe christopherbiscardi.com/gatsby-plugins/<plugin>?

gatsby-plugin-printer doesn't take a shadowed component?

I am using Gatsby Theme Apollo. On this line: https://github.com/apollographql/gatsby-theme-apollo/blob/master/packages/gatsby-theme-apollo-docs/gatsby-node.js#L53 it's using gatsby-plugin-printer.

I'm trying to use component shadowing to change the social-card.js file it's using here: https://github.com/apollographql/gatsby-theme-apollo/blob/master/packages/gatsby-theme-apollo-docs/gatsby-node.js#L53 but cannot get it to work. Shadowing regular react components does work.

Is it because this resolve is sent to rollup? Chasing it down the rabbit hole here: https://github.com/ChristopherBiscardi/gatsby-plugins/blob/master/packages/gatsby-plugin-printer/gen-code-bundle.js#L46

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.