Skip to content

Browserify support? #5

@fractaledmind

Description

@fractaledmind

This library currently only works with Webpack and not Browserify. Would it be possible to add support for Browserify?

FWIW, I get this error when I try to include a component like so import toast from 'gritcode-components/src/components/toast

ParseError: 'import' and 'export' may appear only with 'sourceType: module'

This error is due to the library's package.json not containing a "browserify" command.

For comparison, this is the VueStrap package.json, which does have browserify support: https://github.com/yuche/vue-strap/blob/master/package.json

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions