Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add browser mapping for type to type-component
- Loading branch information
1 parent
0966ccd
commit acfb79a
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't this break for node?
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sigh yes.. jesus christ I hate component
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol and i hate npm. it would be easier just to republish as
component-type
andrequire('component-type')
, etc.acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't publish it, just use github urls to require it then. NPM is fine. No one is making you use the registry but having all these duplicates of all the same shit is really annoying. And the naming is out of control.
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes me not want to fix components because I can easier fork them and just use my forks that actually work. Many of the component repos with package.json files are totally useless and broken because their deps are not properly packaged. People should either package it or not but half ass packaging is terrible.
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you're like the only one i know who uses these components but not component lol. that's why. now you can properly package them since you're a team member :)
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dunno why anyone would use component for js honestly. Browserify packages the js much better and the deps aren't all
*
. Anyhow.. rant over.. I am trying :)acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not just for js though. it's for css, fonts, images, etc. it'll package js better and do semver in v1 :) component is a hack right now
acfb79a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All that other crap can be done in the package.json file if you want. I package css and html with my components just fine. The reality is that those other items are often less used and really so opinionated that people are just as likely to copy the files.