Giter VIP home page Giter VIP logo

toolbox's People

Contributors

dmrty avatar gido avatar knuch avatar tonifisler avatar yago avatar zufrieden avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gido dmrty

toolbox's Issues

Add mention Node compatibility

Toolbox is only compatible Node 8+. It crash on earlier version, please notice it on the documentation !

If you use an other version you will get the following error:

$ toolbox build
/Users/wengerk/www/quartiers-solidaires/node_modules/toolbox-utils/index.js:15
);
^
SyntaxError: Unexpected token )

Missing documentation about usage

  • Missing documentation about usage of builded files (and which file(s) will be builded)
  • Missing documentation about usage of toolbox.json

Webpack bundle paths in toolbox.json - format is not consistant with other configs

I joyfully set up the multiple Webpack bundles configuration like this:

  "bundles": {
    "js": [
      {
        "name": "credit",
        "src": "web/themes/wd/assets/components/molecules/credit/credit.js"
      },
      {
        "name": "app",
        "src": "web/themes/wd/assets/components/base.js"
      }
    ]
  }

And the build doesn't crash anything and just continues building the app bundle as if nothing was wrong.

I should have written a path relative to the src value:

  "bundles": {
    "js": [
      {
        "name": "credit",
        "src": "components/molecules/credit/credit.js"
      },
      {
        "name": "app",
        "src": "components/base.js"
      }
    ]
  }

Since all the paths in toolbox.json are written from the project root, I never imagined that was the wrong thing to do:

  "images": [
    "web/themes/wd/build/images/**/*"
  ],

So, we should either keep it like this (and then document why the path is relative to src), or change this to be consistent with the rest of the config. Cheers!

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.