Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load sass from two different sources. #148

Open
adminy opened this issue Nov 9, 2022 · 0 comments
Open

Load sass from two different sources. #148

adminy opened this issue Nov 9, 2022 · 0 comments

Comments

@adminy
Copy link

adminy commented Nov 9, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant