Giter VIP home page Giter VIP logo

gatsby-plugin-tidy's People

Contributors

koga73 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

gatsby-plugin-tidy's Issues

Odd CSS path and lost SRI tags

I am getting an odd CSS path for my styles and i am losing my SRI tag with css, JS links work fine..

Before adding the plugin, its shows
<style data-href=/styles.69954be9a2ab72042903.css integrity="sha512-E3TsE+4m0iXnjl4zpQcJag52+GrWr+vN4J7v7rTmZHNiN8lm22OiWLsofKr7Mq2PtJNeNURLlg8tIYUIy0ukLw==">

However after adding the plugin settings..
<link href=/css/../css/styles.css rel=stylesheet>

This is my config settings in my gatsby-config.js

{
  resolve: "gatsby-plugin-tidy",
  options: {
    cleanPublic: true,
    removeHashes: true,
    removeArtifacts: true,
    noJsMap: true,
    removeInlineStyles: true,
    jsDir: "js",
    cssDir: "css"
  }
},

Static images not found

Hi, I'm trying to use your plugin and it looks pretty good, I just have one issue: my static images are deleted. The /public/ dir has no /static/ subdir after building.

If I try to launch gatsby build --prefix-paths I get the following error which seems related:

failed Building production JavaScript and CSS bundles - 23.500s

 ERROR #98123  WEBPACK

Generating JavaScript bundles failed

Can't resolve '../../public/static/d/2612610553.json' in '/Users/corentinsmith/projects/dashdoc-static-website/src/hooks'

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.