Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
New version.
Browse files Browse the repository at this point in the history
  • Loading branch information
matsp committed Oct 8, 2017
1 parent 03cac4b commit 5cb239f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "material-components-vue",
"version": "0.0.35",
"version": "0.0.36",
"description": "material-components-web with vuejs",
"author": "Mats Pfeiffer",
"license": "MIT",
Expand Down Expand Up @@ -33,6 +33,7 @@
"optimize-css-assets-webpack-plugin": "^3.2.0",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.0",
"uglifyjs-webpack-plugin": "^0.4.6",
"vue-loader": "^13.0.5",
"vue-template-compiler": "^2.4.4",
"webpack": "^3.6.0"
Expand Down
19 changes: 6 additions & 13 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const path = require('path')
const Webpack = require('webpack')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin')
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')


const root = path.join(__dirname)
const src = path.join(root + '/src/')
Expand Down Expand Up @@ -64,18 +66,9 @@ module.exports.plugins = [
}),
new OptimizeCssAssetsPlugin(),
new Webpack.optimize.ModuleConcatenationPlugin(),
new Webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
dead_code: true,
unused: true,
keep_fnames: false
},
mangle: {
keep_fnames: false
},
output: {
beautify: false
}
new UglifyJSPlugin({
ecma: 5,
cache: true,
parallel: true
})
]

0 comments on commit 5cb239f

Please sign in to comment.