Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Dev dependencies are copied to dist folder. #12

Closed
TheLudd opened this issue Jul 2, 2013 · 3 comments
Closed

Dev dependencies are copied to dist folder. #12

TheLudd opened this issue Jul 2, 2013 · 3 comments

Comments

@TheLudd
Copy link

TheLudd commented Jul 2, 2013

Sholud the dev dependencies really be copied to the dist folder?
I think that this at least should be configurable and that the default value should be false. Or is there a reason for copying the dev dependencies to the dist folder?

@curist
Copy link
Owner

curist commented Jul 2, 2013

It pretty much depends on your use case.
For example, a project with following directory structure

.
├── app
│   ├── scripts/
│   ├── styles/
│   └── views/
├── component.json
├── components
│   ├── jquery/
│   ├── requirejs/
│   └── underscore/
├── Gruntfile.js
├── node_modules
│   ├── grunt/
│   ├── grunt-bower/
│   └── grunt-requirejs/
├── package.json
├── public
│   ├── index.html
│   ├── js/
│   └── styles/
└── README.md

run grunt bower to copy javascript libraries to public/js make sense, right?

@TheLudd
Copy link
Author

TheLudd commented Jul 3, 2013

For jQuery, requirejs and underscore, yes. They all belong in public. But do angular-scenario belong there?
However I am pretty new to this enviroment so I don't have the complete picture of how the workflow of creating and deploying javascript based applications is supposed to be.

@curist
Copy link
Owner

curist commented Jul 10, 2013

I'll leave this open for another couple of days. If you come up with anything, let me know.

@curist curist closed this as completed Jul 19, 2013
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