You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

stylus-resources-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylus-resources-loader - npm Package Compare versions

Comparing version

to
0.0.3

2

package.json
{
"name": "stylus-resources-loader",
"version": "0.0.2",
"version": "0.0.3",
"description": "Stylus resources loader for Webpack",

@@ -5,0 +5,0 @@ "main": "lib/loader.js",

@@ -33,3 +33,6 @@ # stylus-resources-loader

// Or array of paths
resources: ['./path/to/vars.styl', './path/to/mixins.styl']
resources: [
'./path/to/vars.styl',
'./path/to/mixins.styl'
]
}

@@ -43,13 +46,11 @@ }

As an example, if you are using vuejs-templates/webpack, modify build/util.js like so:
As an example, if you are using [vuejs-templates/webpack](https://github.com/vuejs-templates/webpack), modify build/util.js like so:
```js
stylus: generateLoaders('stylus').concat(
{
loader: 'stylus-resources-loader',
options: {
resources: './path/to/resources.styl'
}
stylus: generateLoaders('stylus').concat({
loader: 'stylus-resources-loader',
options: {
resources: './path/to/resources.styl'
}
),
}),
```