style-resources-loader
- Version 1.5.0
- Published
- 47.2 kB
- 4 dependencies
- MIT license
Install
npm i style-resources-loader
yarn add style-resources-loader
pnpm add style-resources-loader
Overview
CSS processor resources loader for webpack
Index
Functions
Interfaces
Type Aliases
Functions
function loader
loader: loader.Loader;
Interfaces
interface StyleResource
interface StyleResource {}
interface StyleResourcesLoaderNormalizedOptions
interface StyleResourcesLoaderNormalizedOptions extends NonNullable<StyleResourcesLoaderOptions> {}
interface StyleResourcesLoaderOptions
interface StyleResourcesLoaderOptions {}
property globOptions
globOptions?: glob.IOptions;
property injector
injector?: StyleResourcesInjector;
property patterns
patterns: string | string[];
property resolveUrl
resolveUrl?: boolean;
Type Aliases
type Loader
type Loader = loader.Loader;
type LoaderCallback
type LoaderCallback = loader.loaderCallback;
type LoaderContext
type LoaderContext = loader.LoaderContext;
type StyleResources
type StyleResources = StyleResource[];
type StyleResourcesFileFormat
type StyleResourcesFileFormat = 'css' | 'sass' | 'scss' | 'less' | 'styl';
type StyleResourcesFunctionalInjector
type StyleResourcesFunctionalInjector = ( this: LoaderContext, source: string, resources: StyleResources) => string | Promise<string>;
type StyleResourcesInjector
type StyleResourcesInjector = | 'prepend' | 'append' | StyleResourcesFunctionalInjector;
type StyleResourcesNormalizedInjector
type StyleResourcesNormalizedInjector = StyleResourcesFunctionalInjector;
Package Files (3)
Dependencies (4)
Dev Dependencies (26)
- @commitlint/cli
- @commitlint/config-conventional
- @types/glob
- @types/is-promise
- @types/jest
- @types/loader-utils
- @types/node
- @types/webpack
- @types/webpack-merge
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- coveralls
- cross-env
- eslint
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-prettier
- husky
- jest
- lint-staged
- prettier
- raw-loader
- ts-jest
- typescript
- webpack
- webpack-merge
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/style-resources-loader
.
- Markdown[](https://www.jsdocs.io/package/style-resources-loader)
- HTML<a href="https://www.jsdocs.io/package/style-resources-loader"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2602 ms. - Missing or incorrect documentation? Open an issue for this package.