Skip to content

Commit 43fa305

Browse files
committed
chore: update package.json to use relative paths for main, module, and types fields; add progress flag to webpack build script
1 parent a5bff11 commit 43fa305

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"name": "multiform-validator",
33
"version": "2.5.2",
44
"description": "Javascript library made to validate, several form fields, such as: email, images, phone, password, cpf etc.",
5-
"main": "dist/index.js",
6-
"module": "dist/index.mjs",
7-
"types": "types/index.d.ts",
5+
"main": "./dist/index.js",
6+
"module": "./dist/index.mjs",
7+
"types": "./types/index.d.ts",
88
"exports": {
99
".": {
1010
"import": "./dist/index.mjs",
@@ -34,7 +34,7 @@
3434
"test:watch": "jest --watch",
3535
"build:types": "tsc -p tsconfig.types.json",
3636
"build:src": "npx tsup index.ts --format esm --legacy-output",
37-
"build:dist": "webpack",
37+
"build:dist": "webpack --progress",
3838
"build:clean": "rm -rf dist && rm -rf types",
3939
"build": "yarn build:clean && yarn build:types && yarn build:dist",
4040
"lint": "eslint src/**/*.ts tests/**/*.ts",

0 commit comments

Comments
 (0)