Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | {
|
---|
2 | "title": "Style Loader options",
|
---|
3 | "type": "object",
|
---|
4 | "properties": {
|
---|
5 | "injectType": {
|
---|
6 | "description": "Allows to setup how styles will be injected into DOM.",
|
---|
7 | "link": "https://github.com/webpack-contrib/style-loader#injecttype",
|
---|
8 | "enum": [
|
---|
9 | "styleTag",
|
---|
10 | "singletonStyleTag",
|
---|
11 | "autoStyleTag",
|
---|
12 | "lazyStyleTag",
|
---|
13 | "lazySingletonStyleTag",
|
---|
14 | "lazyAutoStyleTag",
|
---|
15 | "linkTag"
|
---|
16 | ]
|
---|
17 | },
|
---|
18 | "attributes": {
|
---|
19 | "description": "Adds custom attributes to tag.",
|
---|
20 | "link": "https://github.com/webpack-contrib/style-loader#attributes",
|
---|
21 | "type": "object"
|
---|
22 | },
|
---|
23 | "insert": {
|
---|
24 | "description": "Inserts `<style>`/`<link>` at the given position.",
|
---|
25 | "link": "https://github.com/webpack-contrib/style-loader#insert",
|
---|
26 | "anyOf": [
|
---|
27 | {
|
---|
28 | "type": "string"
|
---|
29 | },
|
---|
30 | {
|
---|
31 | "instanceof": "Function"
|
---|
32 | }
|
---|
33 | ]
|
---|
34 | },
|
---|
35 | "base": {
|
---|
36 | "description": "Sets module ID base for DLLPlugin.",
|
---|
37 | "link": "https://github.com/webpack-contrib/style-loader#base",
|
---|
38 | "type": "number"
|
---|
39 | },
|
---|
40 | "esModule": {
|
---|
41 | "description": "Use the ES modules syntax.",
|
---|
42 | "link": "https://github.com/webpack-contrib/css-loader#esmodule",
|
---|
43 | "type": "boolean"
|
---|
44 | },
|
---|
45 | "styleTagTransform": {
|
---|
46 | "description": "Transform tag and css when insert 'style' tag into the DOM",
|
---|
47 | "link": "https://github.com/webpack-contrib/style-loader#styleTagTransform",
|
---|
48 | "anyOf": [
|
---|
49 | {
|
---|
50 | "type": "string"
|
---|
51 | },
|
---|
52 | {
|
---|
53 | "instanceof": "Function"
|
---|
54 | }
|
---|
55 | ]
|
---|
56 | }
|
---|
57 | },
|
---|
58 | "additionalProperties": false
|
---|
59 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.