@xlaoyu/enhanced-el-tree
Advanced tools
Comparing version 1.1.0 to 1.1.1
const path = require('path'); | ||
const vueLoaderConfig = require('./vue-loader.conf'); | ||
const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); | ||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; | ||
@@ -10,6 +11,7 @@ function resolve(dir) { | ||
module.exports = { | ||
mode: 'production', | ||
entry: './src/index.js', | ||
output: { | ||
path: resolve("dist"), | ||
filename: 'enhanced-el-tree.js', | ||
filename: 'enhanced-el-tree.min.js', | ||
library: 'EnhancedElTree', | ||
@@ -46,10 +48,11 @@ libraryTarget: 'umd' | ||
}, | ||
// plugins: [ | ||
// new UglifyJsPlugin({ | ||
// parallel: true, | ||
// uglifyOptions: { | ||
// ecma: 8, | ||
// } | ||
// }) | ||
// ], | ||
plugins: [ | ||
new UglifyJsPlugin({ | ||
parallel: true, | ||
uglifyOptions: { | ||
ecma: 8, | ||
} | ||
}), | ||
new BundleAnalyzerPlugin() | ||
], | ||
resolve: { | ||
@@ -56,0 +59,0 @@ extensions: ['.js', '.vue'], |
@@ -11,2 +11,3 @@ var path = require('path') | ||
devtool: '#inline-source-map', | ||
mode: 'development', | ||
output: { | ||
@@ -13,0 +14,0 @@ path: resolve('dist'), |
v1.1.1 / 2018-03-12 | ||
================== | ||
* deps: update to webpack 4, output minimal file | ||
* docs: update readme | ||
v1.1.0 / 2018-03-07 | ||
@@ -3,0 +9,0 @@ ================== |
{ | ||
"name": "@xlaoyu/enhanced-el-tree", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"private": false, | ||
@@ -9,3 +9,3 @@ "description": "enhanced element-ui's tree component", | ||
"lint": "eslint src", | ||
"build": "webpack --progress -p --config ./build/webpack.config.js", | ||
"build": "webpack --progress --config ./build/webpack.config.js", | ||
"test": "cross-env NODE_ENV=test karma start test/karma.conf.js --single-run" | ||
@@ -31,16 +31,16 @@ }, | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^8.2.1", | ||
"babel-loader": "^7.1.2", | ||
"babel-eslint": "^8.2.2", | ||
"babel-loader": "^7.1.4", | ||
"babel-plugin-istanbul": "^4.1.5", | ||
"babel-plugin-syntax-jsx": "^6.18.0", | ||
"babel-plugin-transform-vue-jsx": "^3.5.1", | ||
"babel-plugin-transform-vue-jsx": "^3.7.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"chai": "^4.1.2", | ||
"cross-env": "^5.1.3", | ||
"css-loader": "^0.28.9", | ||
"element-ui": "^2.1.0", | ||
"eslint": "^4.17.0", | ||
"cross-env": "^5.1.4", | ||
"css-loader": "^0.28.10", | ||
"element-ui": "^2.2.1", | ||
"eslint": "^4.18.2", | ||
"eslint-friendly-formatter": "^3.0.0", | ||
"eslint-loader": "^1.9.0", | ||
"eslint-loader": "^2.0.0", | ||
"eslint-plugin-vue": "^4.2.2", | ||
@@ -55,13 +55,15 @@ "karma": "^2.0.0", | ||
"karma-webpack": "^2.0.13", | ||
"mocha": "^5.0.2", | ||
"node-sass": "^4.7.2", | ||
"sass-loader": "^6.0.6", | ||
"uglifyjs-webpack-plugin": "^1.1.8", | ||
"vue": "^2.5.13", | ||
"vue-loader": "^14.1.1", | ||
"mocha": "^5.0.4", | ||
"node-sass": "^4.8.1", | ||
"sass-loader": "^6.0.7", | ||
"uglifyjs-webpack-plugin": "^1.2.3", | ||
"vue": "^2.5.15", | ||
"vue-loader": "^14.2.1", | ||
"vue-style-loader": "^4.0.2", | ||
"vue-template-compiler": "^2.5.13", | ||
"webpack": "^3.11.0" | ||
"vue-template-compiler": "^2.5.15", | ||
"webpack": "^4.1.1", | ||
"webpack-bundle-analyzer": "^2.11.1", | ||
"webpack-cli": "^2.0.11" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -76,10 +76,6 @@ # enhanced-el-tree | ||
Element@2.1.0 | ||
Element@2.2.1 | ||
## TODO | ||
compatible with `element@latest` | ||
## License | ||
[MIT](./LICENSE) @ xlaoyu |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2248
0
353252
35
80