Skip to content

Commit b481da0

Browse files
committed
refactor: remove webpack and use tsc compiler
1 parent eff8fd5 commit b481da0

File tree

4 files changed

+9
-743
lines changed

4 files changed

+9
-743
lines changed

.yarn/install-state.gz

-66.8 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@
33
"version": "2.6.1",
44
"description": "Javascript library made to validate, several form fields, such as: email, images, phone, password, cpf etc.",
55
"main": "./dist/index.js",
6-
"module": "./dist/index.mjs",
76
"types": "./types/index.d.ts",
8-
"exports": {
9-
".": {
10-
"import": "./dist/index.mjs",
11-
"require": "./dist/index.js",
12-
"types": "./types/index.d.ts"
13-
}
14-
},
157
"files": [
168
"dist",
179
"types"
@@ -33,8 +25,7 @@
3325
"test:file": "jest tests/src/isDecimal.test --watch",
3426
"test:watch": "jest --watch",
3527
"build:types": "tsc -p tsconfig.types.json",
36-
"build:src": "npx tsup index.ts --format esm --legacy-output",
37-
"build:dist": "webpack --progress",
28+
"build:dist": "tsc",
3829
"build:clean": "rm -rf dist && rm -rf types",
3930
"build": "yarn build:clean && yarn build:types && yarn build:dist",
4031
"lint": "eslint src/**/*.ts tests/**/*.ts",
@@ -97,9 +88,7 @@
9788
"ts-loader": "^9.5.2",
9889
"ts-node": "^10.9.2",
9990
"typescript": "^5.7.3",
100-
"typescript-eslint": "^8.24.0",
101-
"webpack": "^5.98.0",
102-
"webpack-cli": "^6.0.1"
91+
"typescript-eslint": "^8.24.0"
10392
},
10493
"packageManager": "yarn@4.9.4"
10594
}

webpack.config.js

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

0 commit comments

Comments
 (0)