UNPKG

style-loader

Version:
46 lines (45 loc) 1.44 kB
{ "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", "type": "string" }, "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", "type": "string" } }, "additionalProperties": false }