Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Option for specifying custom asset folder? #22

Open
trnc-ck opened this issue Aug 28, 2012 · 2 comments
Open

Option for specifying custom asset folder? #22

trnc-ck opened this issue Aug 28, 2012 · 2 comments

Comments

@trnc-ck
Copy link

trnc-ck commented Aug 28, 2012

hi,

is there a way to specify a custom folder name fpr the generated assets? instead of the given

/generated/bundle/037e6e5_global.css

i want to use

/assets/037e6e5_global.css

any advice? thanks!

@Cowboy-coder
Copy link
Owner

No, there is nothing in the api currently that exposes the functionality to change that path for generated files. Why do you need it?

The only thing that you can change is staticRoot. Like __dirname + "/assets/" instead of __dirname + "/public/" for example.

@zthomas
Copy link

zthomas commented Dec 26, 2012

+1 This is actually pretty crucial, since a lot of css files reference images and other assets using a relative path, using /generate/bundle breaks all my css. It's really preventing me from using this in production.

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

3 participants