-
Notifications
You must be signed in to change notification settings - Fork 184
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
Add react server module tagger #300
Add react server module tagger #300
Conversation
5033208
to
a34f964
Compare
@@ -13,6 +13,7 @@ | |||
"react-dom": "~0.14.2", | |||
"react-server": "../react-server", | |||
"react-server-cli": "../react-server-cli", | |||
"react-server-module-tagger": "../react-server-module-tagger", |
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 make this transitive dependency a direct dependency so that react-server-module-tagger
's prepublish
script is called; otherwise, we get module not found errors from react-server-gulp-module-tagger
and babel-plugin-react-server
a34f964
to
d5e97b9
Compare
af74ab3
to
a92164d
Compare
a92164d
to
1a1587c
Compare
var isWindows = ('win32' === process.platform); | ||
|
||
/** | ||
* A util function for tagging modules. Expects to find data on its prototype |
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 expects to find data in its context, right? Doesn't need to be on the prototype.
Looks reasonable to me, though I didn't go line by line through the stuff that was moved from |
Yeah, LGTM, too. 👍 I've got some interface shuffling itches, but nothing prohibitive. |
Continue breaking up #280 (see also #294 and #297)