esbuildplugin

package
v0.0.0-...-1efd103 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Plugin

func Plugin(opts ...Option) api.Plugin

Plugin is an esbuild plugin for importing .css files.

Types

type Option

type Option func(cssc.Options) cssc.Options

Option is an optional argument to the plugin.

func WithResolver

func WithResolver(resolver cssc.Resolver) Option

WithResolver sets the import resolver for the plugin.

func WithTransforms

func WithTransforms(transforms transforms.Options) Option

WithTransforms sets the transform options for the plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL