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

Add babel module resolver in the right place #952

Closed
wants to merge 1 commit into from

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Feb 1, 2017

Fixes #951

When importing server side next / styled-jsx modules were not loaded.

const transpiled = babelCore.transform(content, {
presets: ['es2015'],
sourceMaps: dev ? 'both' : false,
inputSourceMap: sourceMap
inputSourceMap: sourceMap,
plugins: [
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need them here.
Here we just need to convert import/export into commonjs. That's all.

@arunoda
Copy link
Contributor

arunoda commented Feb 2, 2017

Here's my fix for this: #953

@timneutkens
Copy link
Member Author

Closing in favor of #953

@timneutkens timneutkens closed this Feb 2, 2017
@timneutkens timneutkens deleted the styled-jsx-fix branch February 2, 2017 05:49
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants