-
Notifications
You must be signed in to change notification settings - Fork 300
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
Sync internal archetypes for src/lib mode #124
Conversation
@@ -0,0 +1,5 @@ | |||
{ | |||
"presets": [ | |||
"es2015-node" |
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.
Will excluding React transforms here prevent us from using React as our template language on the back end? I know most of our examples don't do that, but I think that is a pretty common thing to do.
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.
so far we usually put React code in client and load them from server. for the most part, the server code don't expect to have React code. app's server/.babelrc
doesn't have to extend this one anyways.
Conflicts: packages/electrode-archetype-react-app/config/webpack/partial/extract.js
src/lib mode puts
client
andserver
undersrc
directory and transpiled intolib
during build step sobabel-register
is not needed anymore at run time.@ananavati @jmcriffey @aweary