nbriz / stylelint-browser-bundle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stylelint browser bundle

Bundle stylelint and its dependencies into a single file, suitable for running in an environment without access to a file system.

The bundle exposes stylelint's Node API as a CommonJS module.

Getting started

Using ES6:

import stylelintBrowserBundle from "stylelint-browser-bundle"
stylelintBrowserBundle(opts)

How it works

Webpack is used to bundle stylelint and its dependencies into a single file. The build config ignores or replaces unnecessary and incompatible dependencies.

About


Languages

Language:JavaScript 83.2%Language:HTML 16.8%