Skip to content

Commit

Permalink
Update prettier to v2.1 (prettier#328)
Browse files Browse the repository at this point in the history
* Update prettier to v2.1.0

* Update prettier to v2.1.1
  • Loading branch information
sibiraj-s authored Sep 2, 2020
1 parent 5f04324 commit 46ddc35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"classnames": "2.2.6",
"prettier": "2.0.5",
"prettier": "2.1.1",
"prop-types": "15.7.2",
"react": "16.13.1",
"react-dom": "16.13.1",
Expand Down
13 changes: 0 additions & 13 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use strict";

const TerserPlugin = require("terser-webpack-plugin"); // included as a dependency of webpack
const CopyPlugin = require("copy-webpack-plugin");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const HTMLPlugin = require("html-webpack-plugin");
Expand Down Expand Up @@ -47,18 +46,6 @@ module.exports = ({ outDir, env }) => {
},
],
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
extractComments: false,

// https://github.com/webpack-contrib/terser-webpack-plugin/issues/107
output: { ascii_only: true },
},
}),
],
},
output: {
path: outDir,
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7078,10 +7078,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"

prettier@2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4"
integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==
prettier@2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.1.tgz#d9485dd5e499daa6cb547023b87a6cf51bee37d6"
integrity sha512-9bY+5ZWCfqj3ghYBLxApy2zf6m+NJo5GzmLTpr9FsApsfjriNnS2dahWReHMi7qNPhhHl9SYHJs2cHZLgexNIw==

pretty-error@^2.1.1:
version "2.1.1"
Expand Down

0 comments on commit 46ddc35

Please sign in to comment.