vue-loader-options-plugin
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -24,3 +24,3 @@ function ensureLoaderSuffix(name) { | ||
module.loaders.forEach(l => { | ||
if (l.loader.indexOf(loaderOption.loader) >= 0 && !l.options) { | ||
if (l.loader.indexOf(loaderOption.loader) >= 0) { | ||
if (loaderOption.options.toContext) { | ||
@@ -27,0 +27,0 @@ context[loaderOption.loaderName] = loaderOption.options |
{ | ||
"name": "vue-loader-options-plugin", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A little helper of vue-loader's advanced loader configuration.", | ||
@@ -18,2 +18,2 @@ "main": "index.js", | ||
"license": "MIT" | ||
} | ||
} |
@@ -49,3 +49,3 @@ # VueLoaderOptionsPlugin | ||
plugins: [ | ||
new VueLoaderOptionPlugin({ | ||
new VueLoaderOptionsPlugin({ | ||
babel: { // options for babel-loader, if you don't want `.babelrc` | ||
@@ -66,3 +66,2 @@ presets: ['es2015', 'stage-2'], | ||
} | ||
``` | ||
@@ -69,0 +68,0 @@ |
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
5957
87