Skip to content

Commit fedec3e

Browse files
jonkoopsrolandjitsu
authored andcommitted
refactor!: drop ES5 distribution from package
BREAKING CHANGE: removes the ES5 distribution from the package Signed-off-by: Jon Koops <[email protected]>
1 parent 6adbc2f commit fedec3e

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
"version": "0.0.0-development",
44
"description": "Convert DataTransfer object to a list of File objects",
55
"main": "./dist/index.js",
6-
"module": "./dist/es5/index.js",
7-
"es2015": "./dist/es2015/index.js",
8-
"typings": "./dist/index.d.ts",
6+
"module": "./dist/es2015/index.js",
7+
"types": "./dist/index.d.ts",
98
"files": [
109
"dist/**/*",
1110
"src/*",
@@ -32,9 +31,8 @@
3231
"prebuild": "npm run clean",
3332
"build": "npm-run-all -s compile build:umd",
3433
"build:umd": "rollup -c ./rollup.config.mjs",
35-
"compile": "npm-run-all -p compile:es2015 compile:es5 compile:cjs compile:types",
34+
"compile": "npm-run-all -p compile:es2015 compile:cjs compile:types",
3635
"compile:es2015": "tsc -p ./tsconfig.es2015.json",
37-
"compile:es5": "tsc -p ./tsconfig.es5.json",
3836
"compile:cjs": "tsc -p ./tsconfig.cjs.json",
3937
"compile:types": "tsc -p ./tsconfig.types.json",
4038
"clean": "rm -rf dist/*",

tsconfig.es5.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)