Skip to content

Transform does not ensure React is imported. #24

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

Closed
ljharb opened this issue Oct 3, 2017 · 0 comments
Closed

Transform does not ensure React is imported. #24

ljharb opened this issue Oct 3, 2017 · 0 comments

Comments

@ljharb
Copy link
Collaborator

ljharb commented Oct 3, 2017

A file that contains only import svg from 'foo.svg'; will be transformed to have jsx in it, but not import React from 'react';.

@ljharb ljharb mentioned this issue Nov 5, 2017
@kesne kesne closed this as completed in #29 Nov 6, 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

No branches or pull requests

1 participant