react-awesome-button
Advanced tools
Comparing version 6.3.0 to 6.3.1
{ | ||
"name": "react-awesome-button", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "Performant, extendable, highly customisable, production ready React Component that renders an animated basic set of UI buttons", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -13,3 +13,3 @@ import fs from 'fs'; | ||
shell.exec( | ||
`${THEMES_ARG}=${file} webpack --mode production --config webpack.themes.config.js` | ||
`${THEMES_ARG}=${file} webpack --config webpack.themes.config.js` | ||
); | ||
@@ -16,0 +16,0 @@ shell.exec(`rm ${THEMES_PATH}/${file}.js`); |
const TerserPlugin = require('terser-webpack-plugin'); | ||
const webpack = require('webpack'); | ||
const path = require('path'); | ||
@@ -42,24 +42,4 @@ | ||
}, | ||
optimization: { | ||
minimize: true, | ||
minimizer: [ | ||
new TerserPlugin({ | ||
terserOptions: { | ||
output: { | ||
comments: false, | ||
}, | ||
}, | ||
extractComments: false, | ||
}), | ||
], | ||
}, | ||
plugins: [ | ||
new webpack.DefinePlugin({ | ||
'process.env': { | ||
NODE_ENV: JSON.stringify('production'), | ||
}, | ||
}), | ||
], | ||
}; | ||
module.exports = config; |
@@ -1,2 +0,1 @@ | ||
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | ||
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||
@@ -46,5 +45,3 @@ const path = require('path'); | ||
}, | ||
optimization: { | ||
minimizer: [new OptimizeCSSAssetsPlugin({})], | ||
}, | ||
optimization: {}, | ||
plugins: [ | ||
@@ -51,0 +48,0 @@ new MiniCssExtractPlugin({ |
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); | ||
const path = require('path'); | ||
@@ -48,5 +47,3 @@ | ||
}, | ||
optimization: { | ||
minimizer: [new OptimizeCSSAssetsPlugin({})], | ||
}, | ||
optimization: {}, | ||
plugins: [ | ||
@@ -53,0 +50,0 @@ new MiniCssExtractPlugin({ |
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
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
5654105
174
24398