-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing bower.json main as entry-point files, not distribution files #180
Comments
Thanks for the heads up! If I'm understanding right, is this the general idea for a package: // bower.json
{
"name": "my-package",
"main": "index.js",
"files": [
"index.js",
"css/styles.css",
"fonts/font.ttf"
],
"dependencies": {
"jquery": "*"
}
} $ bower list --files
{
js: [
"jquery/jquery.js",
"my-package/index.js"
],
css: [
"my-package/css/styles.css"
],
ttf: [
"my-package/fonts/font.ttf"
]
} Bower would need the user to define I know I made some assumptions here, I'm just trying to figure out how the tooling ecosystem could continue to have all of the information needed in relation to ordering/reference injection. Please correct me if I'm going too far off track :) |
You have the basic idea. The Bower team still needs to settle on the |
No problem, thanks for keeping us in the loop. |
@desandro is there any movement on the |
I'll look to make some moves next week |
@stephenplusplus Opened bower/spec#47 to resolve this issue. Would love to get input on what would work best for Wiredep. |
...should probably have decided on/accepted the files issue before finishing main... |
Hi there!
Head's up: over in bower/spec#43 we're looking to settle the specification for
bower.json
main
:From my understanding, Wiredep works well when main points to distribution files, not source files. So I wanted to alert you of the issue. And also start a discussion of a proper solution once
main
specification has changed. Perhaps afiles
datapoint, that lists all files that get used, in dependency order, or adist
data point that lists distribution files?The text was updated successfully, but these errors were encountered: