60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
|
{
|
||
|
"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
|
||
|
}
|