Skip to content
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
@SadRebel1000

Description

@SadRebel1000

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions