Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Using browserify and esmify but building breaks on vue-agile. #195

Open
SadRebel1000 opened this issue Sep 9, 2020 · 1 comment
Open

Comments

@SadRebel1000
Copy link

I'm using browserify and esmify but building breaks on vue-agile.
browserify -g envify -e main.js -p esmify > bundle.js -t [ babelify --presets [ babel-preset-env ] ]

Error:
.../node_modules/vue-agile/src/Agile.vue:1 <template> ^ ParseError: Unexpected token

Additional info: I did not use esmify before but this helped resolving another error:

.../node_modules/vue-agile/src/index.js:1 import VueAgile from './Agile.vue' ^ ParseError: 'import' and 'export' may appear only with 'sourceType: module'

I came to vue-agile from here SSENSE/vue-carousel#493 (comment).
All help would be greatly appreciated. Please ask if you need more info to help me resolve.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.56. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

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

No branches or pull requests

1 participant