svelte-loader
Advanced tools
Comparing version 1.3.0 to 1.3.1
# svelte-loader changelog | ||
## 1.3.1 | ||
* Update loader-utils dependency | ||
## 1.3.0 | ||
@@ -4,0 +8,0 @@ |
14
index.js
const { compile } = require('svelte'); | ||
const { parseQuery } = require('loader-utils'); | ||
const { getOptions } = require('loader-utils'); | ||
@@ -8,3 +8,3 @@ module.exports = function(source, map) { | ||
const filename = this.resourcePath; | ||
const query = parseQuery(this.query); | ||
const options = getOptions(this) || {}; | ||
@@ -14,7 +14,7 @@ try { | ||
filename: filename, | ||
generate: query.generate, | ||
format: query.format || 'es', | ||
shared: query.shared || false, | ||
name: query.name, | ||
css: query.css !== false, | ||
generate: options.generate, | ||
format: options.format || 'es', | ||
shared: options.shared || false, | ||
name: options.name, | ||
css: options.css !== false, | ||
}); | ||
@@ -21,0 +21,0 @@ |
{ | ||
"name": "svelte-loader", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"author": "Nico Rehwaldt <git_nikku@nixis.de>", | ||
@@ -17,2 +17,5 @@ "description": "A webpack loader for svelte", | ||
], | ||
"dependencies": { | ||
"loader-utils": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
@@ -22,3 +25,2 @@ "chai": "^3.5.0", | ||
"eslint-plugin-mocha": "^4.7.0", | ||
"loader-utils": "^0.2.16", | ||
"mocha": "^3.2.0", | ||
@@ -25,0 +27,0 @@ "sinon": "^1.17.6", |
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
12642
7
2
+ Addedloader-utils@^1.1.0
+ Addedbig.js@5.2.2(transitive)
+ Addedemojis-list@3.0.0(transitive)
+ Addedjson5@1.0.2(transitive)
+ Addedloader-utils@1.4.2(transitive)
+ Addedminimist@1.2.8(transitive)