Skip to content

Commit

Permalink
feat: lib 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sonwonjae committed Jun 23, 2024
1 parent 1318c5f commit 24cf85a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@
"publishConfig": {
"access": "public"
},
"main": "dist/index.umd.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"main": "lib/index.umd.js",
"module": "lib/index.es.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.umd.js",
"types": "./dist/index.d.ts"
"import": "./lib/index.es.js",
"require": "./lib/index.umd.js",
"types": "./lib/index.d.ts"
},
"./styles": "./dist/style.css"
"./styles": "./lib/style.css"
},
"files": [
"/dist"
"/lib"
],
"scripts": {
"dev": "vite",
"clean": "rm -rf ./dist",
"clean": "rm -rf ./lib",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"typeRoots": ["./dist/index.d.ts", "node_modules/@types"],
"typeRoots": ["./lib/index.d.ts", "node_modules/@types"],
"paths": { "@/*": ["./src/*"] },
"declaration": true,
"declarationMap": true,
Expand Down

0 comments on commit 24cf85a

Please sign in to comment.