Hi. I'm trying to understand how this works, but I can't figure it out.
Since its a webpack loader, how does it know where my sassport modules are defined? Do I need to create an entry point or something else?
Sassport looks like what I need - ability to pass variables from webpack to sass. And this loader is making it work for webpack - but I just need more explanations to understand it.
Sassport: {
modules: [
// These modules will be passed to SassPort
require('sassport-foo'),
require('sassport-bar')
],
outputStyle: "compressed",
// ... and more ...
}
For example, how do I create this sassport-foo and sassport-foo modules? When I compile, it says cannot find sassport-foo and sassport-bar
Thank you!
I set up my loaders in webpack but this loader keeps "stopping" my webpack build. It just randomly stops at a different point around 60-65%. How is that possible?
Hi. I'm trying to understand how this works, but I can't figure it out.
Since its a webpack loader, how does it know where my sassport modules are defined? Do I need to create an entry point or something else?
Sassport looks like what I need - ability to pass variables from webpack to sass. And this loader is making it work for webpack - but I just need more explanations to understand it.
For example, how do I create this
sassport-foo
andsassport-foo
modules? When I compile, it says cannot find sassport-foo and sassport-bar Thank you!