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

publish-storybook script is failing #47

Closed
LucianBuzzo opened this issue Sep 12, 2017 · 3 comments
Closed

publish-storybook script is failing #47

LucianBuzzo opened this issue Sep 12, 2017 · 3 comments
Labels

Comments

@LucianBuzzo
Copy link
Contributor

Uglify JS is unable to parse an arrow function imported into the bundle from resin-semver

Failed to build the storybook
static/preview.8657f91df26baa59b122.bundle.js from UglifyJs
Unexpected token: operator (>) [static/preview.8657f91df26baa59b122.bundle.js:76641,30]
LucianBuzzo added a commit that referenced this issue Sep 12, 2017
Connects to #47

change-type: patch
@craigmulligan
Copy link

This is because uglifyjs doesn't support es6, though it should be transpiled before by the babel loader before it hits the plugins.

@LucianBuzzo
Copy link
Contributor Author

@craig-mulligan Yep that's what I've seen, except for whatever reason it's not transpiling required modules. There's an open issue about this storybookjs/storybook#1570

@craigmulligan
Copy link

Ah the world of babel presets. Let me take a quick look otherwise we can merge #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants