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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import Stylus modules with file globbing #1816

Closed
emyller opened this issue Jul 29, 2018 · 1 comment 路 Fixed by #1845
Closed

Can't import Stylus modules with file globbing #1816

emyller opened this issue Jul 29, 2018 · 1 comment 路 Fixed by #1845

Comments

@emyller
Copy link

emyller commented Jul 29, 2018

馃悰 bug report

Although the Stylus binary compiles just fine files containing glob imports, it breaks when using with Parcel.

馃帥 Configuration (.babelrc, package.json, cli command)

parcel serve frontend/index.html --no-autoinstall --no-hmr

馃 Expected Behavior

Parcel should serve a CSS file compiled from Stylus, with or without glob imports.

馃槸 Current Behavior

ENOENT: no such file or directory, open '/app/frontend/styles/**/*

馃捇 Code Sample

// Modules
@require '**/*'

馃實 Your Environment

Software Version(s)
Parcel 1.9.7
Node 10.5.0
npm/Yarn 1.7.0
Operating System Docker (Debian)
@DeMoorJasper
Copy link
Member

DeMoorJasper commented Jul 29, 2018

Ow we have probably overwritten stylus import resolver with a custom one to support node modules and root imports

Sent with GitHawk

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

Successfully merging a pull request may close this issue.

2 participants