[Stylus Plugin] Importing files #1
Labels
bug
Something isn't working
Plugin
Issues related to a plugin
Stylus Plugin
Issues related to the Stylus plugin
Problem
At the moment, it is not possible to import files from a
.styl
file. This is because the IIFE library of stylus that is being used doesn't come with this functionality. As an example, when we try to get an array of dependencies from a string like this:we get an error saying:
even though calling
deps()
on an instance ofstylus
should technically work.Solution
We need to explore ways to bundle
stylus
in way that allows us call these internal functions.The text was updated successfully, but these errors were encountered: