-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
rollup 0.52.1 cannot parse tagged template strings in 'rollup.config.js' #1875
Comments
As both this issue and #1873 could be easily solved by reverting #1759 I guess that is the way we should go. Maybe as part of the code-splitting release if I find the time. Otherwise, a reverting PR is certainly welcome. Sorry @haraldrudell who made this PR in the first place. But after all the discussion, my feeling is that going back to what the host system supports is the best and purest solution. You can always just create a simple npm script like
to enable unsupported syntax in the config. |
Should be fixed now |
👏 |
It looks like rollup 0.52.1 started parsing the
rollup.config.js
file with buble (in this PR #1759). This breaks my config which is using a tagged template string. Apparently buble does not support these.The PR where this was introduced is #1759 which was adding support for object rest/spread. Is it possible to support object rest/spread without breaking other features already supported by modern Node runtimes? Or am I doing something wrong?
The text was updated successfully, but these errors were encountered: