Skip to content

Commit

Permalink
refactor!: drop ES5 distribution from package
Browse files Browse the repository at this point in the history
BREAKING CHANGE: removes the ES5 distribution from the package

Signed-off-by: Jon Koops <[email protected]>
  • Loading branch information
jonkoops authored and rolandjitsu committed Oct 10, 2024
1 parent 6adbc2f commit fedec3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
"version": "0.0.0-development",
"description": "Convert DataTransfer object to a list of File objects",
"main": "./dist/index.js",
"module": "./dist/es5/index.js",
"es2015": "./dist/es2015/index.js",
"typings": "./dist/index.d.ts",
"module": "./dist/es2015/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"src/*",
Expand All @@ -32,9 +31,8 @@
"prebuild": "npm run clean",
"build": "npm-run-all -s compile build:umd",
"build:umd": "rollup -c ./rollup.config.mjs",
"compile": "npm-run-all -p compile:es2015 compile:es5 compile:cjs compile:types",
"compile": "npm-run-all -p compile:es2015 compile:cjs compile:types",
"compile:es2015": "tsc -p ./tsconfig.es2015.json",
"compile:es5": "tsc -p ./tsconfig.es5.json",
"compile:cjs": "tsc -p ./tsconfig.cjs.json",
"compile:types": "tsc -p ./tsconfig.types.json",
"clean": "rm -rf dist/*",
Expand Down
10 changes: 0 additions & 10 deletions tsconfig.es5.json

This file was deleted.

0 comments on commit fedec3e

Please sign in to comment.