Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-stylus-compiler

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-stylus-compiler

A Babel 6 plugin for compiling stylus files into css

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

babel-plugin-stylus-compiler

Compiles .styl files into raw css for import into a javascript variables

import button_css from './buttons.styl'

Install

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

Usage

Babel config

{
  "plugins": ["/home/josh/babel-plugin-stylus"]
}

CLI

babel --plugins babel-plugin-stylus-compiler lib/ --out-dir build

Change log

1.0.3

  • Replace new lines with spaces when inlining the css

1.0.2

  • Add more robust support for resolving .styl file in node_modules

1.0.1

  • Add .npmignore so prepublish works

1.0.0

  • Initial release

Keywords

FAQs

Package last updated on 04 Jun 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc