Socket
Book a DemoInstallSign in
Socket

babel-plugin-stylus

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-stylus

Replace import declarations of **Stylus** files to its parsed **CSS**:

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

babel-plugin-stylus

Replace import declarations of Stylus files to its parsed CSS:

import style from './Component.styl'

to

var style = '.Component {\n  font-family: \'Lucida Grande\';\n  color: #3d9970;\n  font-size: 24px;\n}\n';

Install

npm i babel-plugin-stylus --save-dev

Usage

babel --plugins babel-plugin-stylus src/ --out-dir lib

Changelog

1.0.0

  • First release :tada:

Keywords

babel-plugin

FAQs

Package last updated on 22 Sep 2015

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