yu-img-upload
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"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*/ | ||
] | ||
}; |
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
738698
2550