jlengstorf/learn-rollup

Babel's "Unexpected token" error

Open

#45 opened on Feb 8, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (56 forks)github user discovery
help wanted

Repository metrics

Stars
 (190 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, I'm following the Rollup.js Tutorial, Part 2 (How to Bundle Stylesheets and Add LiveReload With Rollup), and after setting postcss, I get an Unexpected token error from the babel plugin. If I comment the import line for the CSS file, it goes away and everything goes back to green. Are you aware of this? Am I missing something?

Contributor guide