diff --git a/CHANGELOG.md b/CHANGELOG.md index b221e86..d5bed84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 935739b..619e180 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -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. diff --git a/package.json b/package.json index 6b77a28..74b416b 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "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" @@ -21,11 +21,11 @@ "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" }, diff --git a/tsconfig.build.jsonc b/tsconfig.build.jsonc index 2ad72d2..f791b57 100644 --- a/tsconfig.build.jsonc +++ b/tsconfig.build.jsonc @@ -5,7 +5,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "outDir": "esm/es2020", + "outDir": "esm/es2022", "noEmit": false, "declaration": true },