Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Bundles parts also generated in output with punch g #58

Closed
ghost opened this issue Jan 18, 2013 · 1 comment
Closed

Bundles parts also generated in output with punch g #58

ghost opened this issue Jan 18, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 18, 2013

Hi,

I have a config.json that looks like this :

{
  "template_dir": "templates", 
  "content_dir": "contents",
  "output_dir": "output",

  "server": { 
    "port": 9009
  },

  "bundles": {
    "/assets/stylesheets/all.css": [
      "/assets/stylesheets/application.css",
      "/assets/stylesheets/welcome.less"
    ],

    "/assets/javascripts/all.js": [
      "/assets/javascripts/jquery.min.js",
      "/assets/javascripts/jquery-ui.min.js",
      "/assets/javascripts/jquery.init.js",
      "/assets/javascripts/jquery.slider.min.js",
      "/assets/javascripts/application.js"
    ]
  },

  "generator" : {
    "blank" : false
  }
}

When I remove the output folder and run punch g, all-TIMESTAMP.js and all-TIMESTAMP.css are generated but the other files (jquery, jquery-ui, welcome.css...) are also generated which is unnecessary as only all-TIMESTAMP.(css|jss) are needed.

Am I doing something wrong?

@laktek
Copy link
Owner

laktek commented Jan 19, 2013

punch g will copy the regular files included in the bundles. So they could be accessed individually if needed.

@ghost ghost closed this as completed Jan 19, 2013
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant