import-glob-loader icon indicating copy to clipboard operation
import-glob-loader copied to clipboard

glob imports on imported files as well

Open gforcada opened this issue 8 years ago • 8 comments

I spend nearly two hours trying to figure out why import-glob-loader was not working for me, it turns out that having this structure does not work:

webpack.js

require('style!css!sass!import-glob!foo/bar.scss')
bar.scss

@import "more_foo"
more_foo.scs

@import "stuff/*"

Should that be documented on the README or rather it should be fixed?

gforcada avatar Jan 26 '17 14:01 gforcada

It ought to work but I'll have to take a look

Aintaer avatar Jan 26 '17 23:01 Aintaer

I'm glad I saw this issue, I've spent an hour trying to figure out why my imported file was not globbing correctly.

EBMike avatar Feb 16 '17 19:02 EBMike

+1 I'm having the same issue

renegus avatar Apr 05 '17 19:04 renegus

+1

DmitryTurovtsov avatar May 01 '17 10:05 DmitryTurovtsov

So what is the fix? I can't figure out how to get this working with laravel webpack

Kcharle avatar Jul 04 '17 02:07 Kcharle

Same issue here: "child" @import within subfolder does not work.

MXTcomunica avatar Mar 02 '18 16:03 MXTcomunica

+1

jfleblanc avatar Jun 08 '18 14:06 jfleblanc

This does work with 'node-sass-globbing' and gulp.

From my current understanding, node-sass-globbing is not working with webpack?

donquixote avatar Jan 27 '20 11:01 donquixote