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

Vuepress issue @ static #14

Open
maartenvanderhoef opened this issue Feb 6, 2019 · 5 comments
Open

Vuepress issue @ static #14

maartenvanderhoef opened this issue Feb 6, 2019 · 5 comments
Assignees

Comments

@maartenvanderhoef
Copy link

First of all, thanks for implementing the button support for Vuepress +1 !
It works fine in vuepress dev mode, but when I build for static I'm having an error.

https://travis-ci.org/doingcloudright/airship.tf/jobs/489461062


/home/travis/build/doingcloudright/airship.tf/node_modules/vue-github-buttons/dist/vue-github-buttons.es.js:1
(function (exports, require, module, __filename, __dirname) { import { __awaiter, __generator, __extends, __decorate } from 'tslib';
                                                              ^^^^^^
SyntaxError: Unexpected token import
@gluons
Copy link
Owner

gluons commented Feb 6, 2019

Hmm... VuePress can't handle ES module style import? 🤔
That's weird.

@gluons gluons self-assigned this Feb 6, 2019
@gluons
Copy link
Owner

gluons commented Mar 7, 2019

I've published v3.0.2-beta.0 with plugin tweak.
Import error gone. But some error still exists.

I don't know why.

@gluons
Copy link
Owner

gluons commented Mar 7, 2019

Issue created on VuePress.

@maartenvanderhoef
Copy link
Author

Thanks for all your effort, much appreciated!

@gluons
Copy link
Owner

gluons commented Mar 13, 2019

Move to track on vuejs/vuepress#451.

Workaround here vuejs/vuepress#1414#issuecomment-470928007.

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

No branches or pull requests

2 participants