-
Notifications
You must be signed in to change notification settings - Fork 779
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: Plugin Error unexpected token #1305
Comments
Tested with Stencil |
Did you try it with both builtins and globals? |
@snaptopixel, I did and sadly that didn't change anything. Should I have left that in the example? I figured it added unnecessary extra code. |
Tested with Stencil
|
Same bug reported on @stencil/router: stencil-community/stencil-router#83 |
Tested with Stencil 0.18.0 still not working |
What about this issue? |
I have the same issue, this happened because I needed to connect with some third party SDK together with the router, without the router I can use the SDK without any issue
stencil.config.ts
|
This exact issue seems to be "fixed" with stencil one (tested on This is the new error:
NOTE: This appears on this github issue: calvinmetcalf/rollup-plugin-node-globals#18 However the resolution appears to be just changing the order of the rollup plugins which isn't possible with anything stencil uses internally. I was able to reproduce the issue with a minimal test (based off of the stencil init app). This test is located on master of https://github.com/Matthew-Smith/stencil-rollup-error |
Very interested to see this fixed. Really want to upgrade to Stencil 1.0.0 |
Having same issue with
which are installed using |
This issue appears to be resolved with stencil one however I have reported another issue here: |
Stencil version:
EDIT: recently tested with
EDIT 2: recently tested with
Node Version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
I am unable to finish building our project when I use the
rollup-plugin-node-globals
plugin in thestencil.config.ts
Getting this error output:
Expected behavior:
The app should build and be able to build successfully
Steps to reproduce:
Add
rollup-plugin-node-globals
based on the instructions from stencil's module-bundling docsAlternatively you can clone this sample,
npm install
and thennpm run build
in ithttps://github.com/Matthew-Smith/stencil-rollup-errorhttps://github.com/Matthew-Smith/stencil-rollup-error/tree/34810a9c393cf0cd0200a4e53df8fc32d6a3308a
Related code:
stencil.config.ts
package.json
Other information:
Issue 1063 seems like it could be relevant but the solution was to downgrade versions which isn't ideal
The text was updated successfully, but these errors were encountered: