Skip to content

Commit

Permalink
removed unnecessary packages * updated packages * v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Biering committed Jan 13, 2020
1 parent 7faf7cb commit 516bdb9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vueup",
"description": "Simple, lightweight and elegant global notification popup for Vue.js",
"version": "1.2.3",
"version": "1.3.0",
"author": "Christoph Biering <[email protected]> (https://github.com/chryb)",
"private": false,
"license": "MIT",
Expand All @@ -27,14 +27,10 @@
"@babel/preset-env": "^7.4.1",
"@babel/types": "^7.4.0",
"babel-loader": "^8.0.5",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"file-loader": "^3.0.1",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"sass-loader": "^7.1.0",
"uglifyjs-webpack-plugin": "^2.1.2",
"cross-env": "^6.0.3",
"css-loader": "^3.4.2",
"file-loader": "^5.0.2",
"mini-css-extract-plugin": "^0.9.0",
"vue": "^2.6.10",
"vue-loader": "^15.7.0",
"vue-template-compiler": "^2.6.10",
Expand Down
28 changes: 2 additions & 26 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ const path = require('path')
const webpack = require('webpack')
const devMode = process.env.NODE_ENV !== 'production';
const VueLoaderPlugin = require('vue-loader/lib/plugin');
const MiniCssExtractPlugin = require("mini-css-extract-plugin")
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const OptimizeCSSAssetsPlugin = require("optimize-css-assets-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");

module.exports = {

Expand All @@ -22,13 +20,7 @@ module.exports = {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
loaders: {
'scss': 'vue-style-loader!css-loader!sass-loader',
'sass': 'vue-style-loader!css-loader!sass-loader?indentedSyntax'
}
}
loader: 'vue-loader'
},
{
test: /\.css$/,
Expand Down Expand Up @@ -61,22 +53,6 @@ module.exports = {
}
},

optimization: {
minimizer: [
new UglifyJsPlugin({
sourceMap: true,
parallel: 4,
uglifyOptions: {
warnings: false,
compress: {
warnings: false
},
},
}),
new OptimizeCSSAssetsPlugin({})
]
},

devServer: {
historyApiFallback: true,
noInfo: true
Expand Down

0 comments on commit 516bdb9

Please sign in to comment.