vue-github-buttons
vue-github-buttons copied to clipboard
Vuepress issue @ static
trafficstars
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
Hmm... VuePress can't handle ES module style import? 🤔
That's weird.
I've published v3.0.2-beta.0 with plugin tweak.
Import error gone. But some error still exists.
I don't know why.
Issue created on VuePress.
Thanks for all your effort, much appreciated!