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

Dropped comment before default export #1850

Closed
Andarist opened this issue Jan 8, 2018 · 0 comments · Fixed by #1949
Closed

Dropped comment before default export #1850

Andarist opened this issue Jan 8, 2018 · 0 comments · Fixed by #1949

Comments

@Andarist
Copy link
Member

Andarist commented Jan 8, 2018

Repro - Andarist/stylis.js@a8a9f4d

You can check out the source code in src directory, and the output in the dist directory. Sorry for not trimming down the reproduction case.

Input

function factory(options) { /* ... */ }
export default /*#__PURE__*/factory(null)

Actual

function factory(options) { /* ... */ }
var index = factory(null)

module.exports = index;

Expected

function factory(options) { /* ... */ }
var index = /*#__PURE__*/factory(null)

module.exports = index;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants