Socket
Socket
Sign inDemoInstall

yu-img-upload

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yu-img-upload - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

5

package.json
{
"name": "yu-img-upload",
"version": "1.0.3",
"version": "1.0.4",
"description": "a simple images upload plugin with preview",

@@ -9,4 +9,3 @@ "main": "index.js",

"dev": "cross-env NODE_ENV=devcelop PLATFORM=web webpack-dev-server",
"build": "cross-env NODE_ENV=production PLATFORM=web webpack",
"lib": "cross-env NODE_ENV=devcelop PLATFORM=web webpack --config webpack.publish.js"
"build": "cross-env NODE_ENV=production PLATFORM=web webpack && cross-env NODE_ENV=devcelop PLATFORM=web webpack --config webpack.publish.js"
},

@@ -13,0 +12,0 @@ "keywords": [

@@ -5,4 +5,2 @@ const path = require('path');

const autoprefixer = require('autoprefixer');//补全css各种hack
/*const ExtractTextPlugin = require("extract-text-webpack-plugin");//分离样式表
const extractSass = new ExtractTextPlugin('[name].css');//导出sass*/

@@ -23,7 +21,2 @@ module.exports = {

use: ['style-loader','css-loader', 'sass-loader','autoprefixer-loader']
/* use: extractSass.extract({
fallback: 'style-loader',
use: ['css-loader', 'sass-loader','autoprefixer-loader'],
publicPath: "../"
})*/
},

@@ -53,5 +46,3 @@ {

new CleanWebpackPlugin(['lib']),
/* //样式导出配置
extractSass*/
]
};
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