Skip to content

Commit

Permalink
0.2.3 version released
Browse files Browse the repository at this point in the history
 - Dependency library version changed.
  • Loading branch information
seogi1004 committed Aug 1, 2018
1 parent 7daa621 commit fb5ca22
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dist/vue-graph.js

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-graph",
"productionName": "Vue Graph",
"version": "0.2.2",
"version": "0.2.3",
"description": "A library that provides various visualization elements for Vue.js",
"main": "src/vue-graph.js",
"files": [
Expand Down Expand Up @@ -35,7 +35,6 @@
"author": "alvin.h <seogi777@gmail.com>",
"license": "MIT",
"devDependencies": {
"compression-webpack-plugin": "^1.1.11",
"css-loader": "^0.28.11",
"html-webpack-plugin": "^3.2.0",
"uglifyjs-webpack-plugin": "^1.2.7",
Expand All @@ -47,7 +46,7 @@
"webpack-bundle-analyzer": "^2.13.1"
},
"dependencies": {
"juijs-chart": "^2.1.4-es6",
"juijs-chart": "^2.1.5-es6",
"vue": "^2.5.16"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
mode: 'development',
entry: {
vendors: [ 'vue', 'juijs', 'juijs-graph', 'juijs-chart' ],
app: path.resolve(__dirname, 'src/bundles/app.js'),
app: path.resolve(__dirname, 'src/bundles/index.js'),
},
output: {
path: path.resolve(__dirname, 'out'),
Expand All @@ -28,7 +28,7 @@ module.exports = {
},
plugins: [
new HtmlWebpackPlugin({
template: path.resolve(__dirname, 'src/bundles/app.html'),
template: path.resolve(__dirname, 'src/bundles/index.html'),
filename: path.resolve(__dirname, 'out/index.html'),
minify: {
removeComments: true,
Expand Down
12 changes: 2 additions & 10 deletions webpack.prod.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
const path = require('path');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const CompressionPlugin = require('compression-webpack-plugin');

module.exports = {
mode: 'production',
entry: path.resolve(__dirname, 'src', 'bundles/prod.js'),
entry: path.resolve(__dirname, 'src', 'bundles/production.js'),
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'vue-graph.js'
},
optimization: {
minimizer: [
new UglifyJsPlugin(),
new CompressionPlugin({
asset: "[path].gz[query]",
algorithm: "gzip",
test: /\.js$|\.css$|\.html$/,
threshold: 10240,
minRatio: 0
})
new UglifyJsPlugin()
]
}
}

0 comments on commit fb5ca22

Please sign in to comment.