Skip to content

Load sass from two different sources. #148

@adminy

Description

@adminy

I'm trying to load from a remote source as well as localhost.

Sass.preloadFiles('https://unpkg.com/bulma@latest/', '',['bulma.scss'], function callback() {
   Sass.preloadFiles('http://localhost/', '', ['mystyle.scss'], function callback() {
      console.log('all the necessary files are now loaded')
   })
})

But I get Uncaught TypeError: sF._preloadingFilesCallback is not a function when the second preloadFiles is called.
Also its not like I can pass it in as a file in the first one since its a different origin.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions