Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-loader-options-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-loader-options-plugin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

HISTORY.md

2

index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc