1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {
- "title": "Style Loader options",
- "type": "object",
- "properties": {
- "injectType": {
- "description": "Allows to setup how styles will be injected into DOM.",
- "link": "https://github.com/webpack-contrib/style-loader#injecttype",
- "enum": [
- "styleTag",
- "singletonStyleTag",
- "autoStyleTag",
- "lazyStyleTag",
- "lazySingletonStyleTag",
- "lazyAutoStyleTag",
- "linkTag"
- ]
- },
- "attributes": {
- "description": "Adds custom attributes to tag.",
- "link": "https://github.com/webpack-contrib/style-loader#attributes",
- "type": "object"
- },
- "insert": {
- "description": "Inserts `<style>`/`<link>` at the given position.",
- "link": "https://github.com/webpack-contrib/style-loader#insert",
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "base": {
- "description": "Sets module ID base for DLLPlugin.",
- "link": "https://github.com/webpack-contrib/style-loader#base",
- "type": "number"
- },
- "esModule": {
- "description": "Use the ES modules syntax.",
- "link": "https://github.com/webpack-contrib/css-loader#esmodule",
- "type": "boolean"
- },
- "styleTagTransform": {
- "description": "Transform tag and css when insert 'style' tag into the DOM",
- "link": "https://github.com/webpack-contrib/style-loader#styleTagTransform",
- "anyOf": [
- {
- "type": "string"
- },
- {
- "instanceof": "Function"
- }
- ]
- }
- },
- "additionalProperties": false
- }
|