Skip to content

Commit

Permalink
Rename output directory from esm/es2020 to esm/es2022
Browse files Browse the repository at this point in the history
Output target is now es2022.
  • Loading branch information
pocka committed Dec 5, 2024
1 parent 3ad764f commit a466f11
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Rename directory path from `esm/es2020` to `esm/es2022`.

## [0.1.2] - 2024-12-05

### Changed
Expand Down
2 changes: 1 addition & 1 deletion docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can manually compile them by running:
$ npm run build
```

Compiled JavaScript files are located under `esm/es2020/` directory.
Compiled JavaScript files are located under `esm/es2022/` directory.
That directory is ignored from VCS, and included in published tarball.

To clean the compiled files, simply delete `esm/` directory.
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"email": "pockawoooh@gmail.com"
},
"files": [
"esm/es2020/plugin.js",
"esm/es2020/plugin.d.ts",
"esm/es2022/plugin.js",
"esm/es2022/plugin.d.ts",
"LICENSES/*.txt",
"docs/SECURITY.md",
"package.json.license"
],
"type": "module",
"exports": {
".": {
"types": "./esm/es2020/plugin.d.ts",
"default": "./esm/es2020/plugin.js"
"types": "./esm/es2022/plugin.d.ts",
"default": "./esm/es2022/plugin.js"
}
},
"types": "./esm/es2020/plugin.d.ts",
"types": "./esm/es2022/plugin.d.ts",
"peerDependencies": {
"rollup": "^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "esm/es2020",
"outDir": "esm/es2022",
"noEmit": false,
"declaration": true
},
Expand Down

0 comments on commit a466f11

Please sign in to comment.