Skip to content

ReferenceError glob is not defined #24

@meirroth

Description

@meirroth

When trying to use on a fresh sandbox Vue 3 template
I get the following error:

ReferenceError

/node_modules/@meforma/vue-toaster/src/Toaster.vue:299:9
   295| index(list, value)
   296|   for val, i in list
   297|     return i if val == value
   298| 
   299| @import './themes/default/index.styl'
----------------^
   300| .v--default-css
   301|   @import './themes/default/colors.styl'
   302|   @import './themes/default/toast.styl'

glob is not defined

ReferenceError: /node_modules/
meforma/vue-toaster/src/Toaster.vue:299:9

See: https://codesandbox.io/s/vue-toaster-1gmkk?file=/src/App.vue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions