Skip to content
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

Merged
merged 25 commits into from
Jan 26, 2017
Merged

Conversation

jchip
Copy link
Member

@jchip jchip commented Jan 25, 2017

src/lib mode puts client and server under src directory and transpiled into lib during build step so babel-register is not needed anymore at run time.

@ananavati @jmcriffey @aweary

@@ -0,0 +1,5 @@
{
"presets": [
"es2015-node"
Copy link
Contributor

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.

Copy link
Member Author

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
@jchip jchip merged commit cfcf71e into electrode-io:master Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants