New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fis3-preprocessor-css2js

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis3-preprocessor-css2js

resouce loader

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

fis3-preprocessor-css2js

将 css 解析成 js 文件,用 js 的方式去加载。

只支持 fis3

npm install -g fis3-preprocessor-css2js

使用方式配置如下:

fis.match('/modules/css/*.{scss,css,less}', {
  preprocessor: fis.plugin('css2js'),
  rExt: '.js',
  isMod: true
})

配置完后,可以在 js 中用 js loader 引用 css 了,如: require(css/xxx.css)

Keywords

fis3

FAQs

Package last updated on 01 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts