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

esbuild-postcss

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

esbuild-postcss

Seamless integration between esbuild and PostCSS

latest
Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
17K
9.38%
Maintainers
1
Weekly downloads
 
Created
Source

esbuild-postcss

npm version Node.js CI License: MIT

Seamless integration between esbuild and PostCSS.

Installation

npm i postcss esbuild-postcss -D

or

yarn add postcss esbuild-postcss --dev

Usage

const esbuild = require('esbuild');
const postcss = require('esbuild-postcss');

esbuild
  .build({
    entryPoints: ['style.css'],
    bundle: true,
    outdir: 'build',
    plugins: [postcss()],
  })
  .catch(() => process.exit(1));

Options

extensions

Type: string[]
Default: ['.css']

This plugin will process files ending with these extensions.

Licence

MIT

Keywords

esbuild

FAQs

Package last updated on 14 Jul 2021

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