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

Multiple flows in useminPrepare and multiple targets in usemin #420

Closed
reda-alaoui opened this issue Aug 16, 2014 · 1 comment
Closed

Multiple flows in useminPrepare and multiple targets in usemin #420

reda-alaoui opened this issue Aug 16, 2014 · 1 comment

Comments

@reda-alaoui
Copy link

Hi,

I have the following project organization for an angular application:

app
-- scripts
-- styles
-- views
-- index.html

I sucessfully output two concatenated and uglyfied script file in my dist folder.

What I need now is to also generate a copy of index.html, named index-debug.html that references the concatenated but not uglified script files to be able to debug the javascript code in production.

I want to obtain:

dist
-- scripts
-- scripts-debug
-- styles
-- views
-- index-debug.html

I think that I should use multple flows and targets to succeed.
But I don't know how to define multiple flows in useminPrepare and then use them with multiple targets in usemin.

@stephanebachelier
Copy link
Collaborator

Duplicate of #456 and #487

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

2 participants