This repository was archived by the owner on Feb 24, 2023. It is now read-only.
This repository was 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
Description
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.