Skip to content

Commit 161949d

Browse files
committed
chore: remove src dir from dist
1 parent 7849ca5 commit 161949d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"description": "A template for discord.js with TypeScript",
44
"version": "14.14.1-0.1.3",
55
"license": "ISC",
6-
"main": "dist/src/index.js",
6+
"main": "dist/index.js",
77
"scripts": {
88
"dev": "cross-env NODE_ENV=development nodemon",
99
"build": "tsc && tsc-alias",
10-
"start": "cross-env NODE_ENV=production node ./dist/src/index.js"
10+
"start": "cross-env NODE_ENV=production node ./dist/index.js"
1111
},
1212
"dependencies": {
1313
"chalk": "4.1.2",
@@ -17,8 +17,8 @@
1717
"module-alias": "^2.2.2"
1818
},
1919
"_moduleAliases": {
20-
"@": "dist/src",
21-
"@config": "dist/src/config"
20+
"@": "dist",
21+
"@config": "dist/config"
2222
},
2323
"devDependencies": {
2424
"@types/fs-extra": "^11.0.4",

tsconfig.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
"typeRoots": ["node_modules/@types"],
1616
"sourceMap": false,
1717
"baseUrl": ".",
18-
// "rootDir": "./src",
19-
"outDir": "./dist/src",
18+
"outDir": "./dist",
2019
"paths": {
21-
"@/*": ["src/*"]
20+
"@/*": ["./src/*"]
2221
}
2322
},
2423
"include": ["./**/*.ts"],

0 commit comments

Comments
 (0)