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

Use lerna-alias for rollup config + fixed rollup plugins order #507

Merged
merged 1 commit into from
Dec 26, 2017

Conversation

Andarist
Copy link
Member

Checklist:

  • Documentation N/A
  • Tests N/A
  • Code complete

'./packages/create-emotion-styled/src/index.js'
)
}),
plugins: [alias(lernaAliases())].concat(basePlugins).concat(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alias has to come first otherwise if we build a single package and others have their built dist files ready rollup-plugin-node-resolve will kick in first to resolve the package and the dist files will be used

putting alias first we make sure that it always "wins" and source files will be used

Copy link
Member

@emmatown emmatown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

@emmatown emmatown merged commit 2a2e2d0 into emotion-js:master Dec 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