Skip to content

Commit

Permalink
Target es2020 module
Browse files Browse the repository at this point in the history
  • Loading branch information
ntotten committed Jan 29, 2022
1 parent 0e87ff9 commit 24ef05c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to the "prettier-vscode" extension will be documented in thi

<!-- Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. -->

## [9.1.1]

- Changed build target to ES2020 to reduce module size

## [9.1.0]

- Upgraded to Prettier 2.5.1
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "prettier-vscode",
"displayName": "Prettier - Code formatter",
"description": "Code formatter using prettier",
"version": "9.1.0",
"version": "9.1.1",
"publisher": "esbenp",
"author": "Prettier <@prettiercode>",
"galleryBanner": {
Expand Down
4 changes: 2 additions & 2 deletions test-fixtures/plugins/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ p-defer@^1.0.0:
resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=

"php-parser@git+https://github.com/glayzzle/php-parser.git#27abcb2337ac6450c068ef064982dfabf77916a5":
"php-parser@https://github.com/glayzzle/php-parser#27abcb2337ac6450c068ef064982dfabf77916a5":
version "3.0.2"
resolved "git+https://github.com/glayzzle/php-parser.git#27abcb2337ac6450c068ef064982dfabf77916a5"
resolved "https://github.com/glayzzle/php-parser#27abcb2337ac6450c068ef064982dfabf77916a5"

prettier@^2.5.1:
version "2.5.1"
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"target": "ES2020",
"outDir": "out",
"strict": true,
"noUnusedLocals": true,
"forceConsistentCasingInFileNames": true,
"removeComments": true,
"lib": ["es2016"],
"lib": ["ES2020"],
"sourceMap": true,
"rootDir": "src"
},
Expand Down

0 comments on commit 24ef05c

Please sign in to comment.