imports-loader
Advanced tools
Comparing version 3.0.1 to 3.1.0
@@ -6,3 +6,5 @@ { | ||
"type": "string", | ||
"minLength": 1 | ||
"minLength": 1, | ||
"description": "Allows to use a string to describe an import.", | ||
"link": "https://webpack.js.org/loaders/imports-loader/#string" | ||
}, | ||
@@ -12,2 +14,4 @@ "ImportItemObject": { | ||
"additionalProperties": false, | ||
"description": "Allows to use an object to describe an import.", | ||
"link": "https://webpack.js.org/loaders/imports-loader/#object", | ||
"properties": { | ||
@@ -52,5 +56,8 @@ "syntax": { | ||
"type": "object", | ||
"description": "Options for imports-loader", | ||
"properties": { | ||
"type": { | ||
"enum": ["module", "commonjs"] | ||
"enum": ["module", "commonjs"], | ||
"description": "Format of generated exports.", | ||
"link": "https://github.com/webpack-contrib/imports-loader#type" | ||
}, | ||
@@ -60,4 +67,3 @@ "imports": { | ||
{ | ||
"type": "string", | ||
"minLength": 1 | ||
"$ref": "#/definitions/ImportItemString" | ||
}, | ||
@@ -112,7 +118,11 @@ { | ||
} | ||
] | ||
], | ||
"description": "Closes the module code in a function with a given 'thisArg' and 'args'", | ||
"link": "https://webpack.js.org/loaders/imports-loader/#wrapper" | ||
}, | ||
"additionalCode": { | ||
"type": "string", | ||
"minLength": 1 | ||
"minLength": 1, | ||
"description": "Adds custom code as a preamble before the module's code.", | ||
"link": "https://webpack.js.org/loaders/imports-loader/#additionalcode" | ||
} | ||
@@ -119,0 +129,0 @@ }, |
{ | ||
"name": "imports-loader", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"description": "imports loader module for webpack", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36427
475