Code Monkey home page Code Monkey logo

metalsmith-picset-generate's People

Contributors

anthonyastige avatar anthonyatzinid avatar celticparser avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

metalsmith-picset-generate's Issues

failed to require plugin "metalsmith-picset-generate"

Hello, I would like to use metalsmith-picset-generate but it doesn't work on my config, and I get this error:

failed to require plugin "metalsmith-picset-generate"

Here is my config in metalsmith.json

{
    "source": "src/pages/",
    "destination": "dist/",
    "clean": false,
    "plugins": {
      "metalsmith-picset-generate": {
        "path": "img/picset",
        "jpg": 80,
        "webp": 80
      }
    }
}

my package.json

...
"devDependencies": {
    "handlebars": "^4.0.12",
    "jstransformer-handlebars": "^1.1.0",
    "metalsmith": "^2.3.0",
    "metalsmith-browser-sync": "^1.1.1",
    "metalsmith-data": "^0.2.0",
    "metalsmith-debug": "^1.2.0",
    "metalsmith-debug-ui": "^0.3.0",
    "metalsmith-discover-helpers": "^0.1.1",
    "metalsmith-discover-partials": "^0.1.2",
    "metalsmith-in-place": "^4.2.0",
    "metalsmith-layouts": "^2.2.0",
    "metalsmith-picset-generate": "0.0.2",
    "metalsmith-picset-handlebars-helper": "0.0.2",
    "metalsmith-serve": "0.0.7",
    "metalsmith-watch": "^1.0.3",
    "node-sass": "^4.9.4",
    "npm-run-all": "^4.1.3"
  }
...

Running on Windows 7 64 bit with node v.8.9.4

Any ideas?

Option Path

Setting the Options seems to do nothing - defaults are not over-ridden.

.use(picsetGenerate({
        path: '../img/picset', // or any other path related to MetalSmith source directory e.g.: img/picset/test
        jpg: 90, // Dose not change from default
        webp: 90 // Dose not change from default
}))

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.