Kwangsic Hyun
@kwangsics6971
Reviews Written
1
Average Rating
1.0
Posts
Q&A
config ์ง๋ฌธ๋๋ฆฝ๋๋ค.
ํน์ development ๋ถ๋ถ์ธ๊ฐ์??? ์ด ๋ถ๋ถ ๋ง์ถฐ์ ํด๋ด๋ ๋์ผํ๋ค์ใ ใ ignoreEnvFile๋ ๊ตฌ๊ธ๋งํด์ ๋ถ์ฌ ๋ฃ๋ค๋ณด๋ ๋ฃ์ ๋ด์ฉ์ ๋๋ค.
- 0
- 2
- 250
Q&A
typeorm config ์ค์ ํ ๋น๋ ์๋ฌ
ormconfig.ts๋ ๊ทธ๋๋ก ๋ณต์ฌํด์ ์ฌ์ฉํ๊ณ ๋๋น ์ค์ ๋ง ๋ณ๊ฒฝํ์ฌ dotenv๋ ์ ์ํฌํธ ๋์ด ์์ต๋๋ค. ormconfig.ts๊ฐ ์๋ ์ง์ app module์ ์ ๋ ฅ์์๋ ์ ๋ถ๋๋ฐ ๋ฐ๋ก ๋นผ๋ด์์๋ dotenv ์ค๋ฅ๊ฐ ๋๋๊ฒ ๊ฐ์ต๋๋ค. ์๋ ๋ถ๋ถ์ด๋ผ๊ณ ํ์ํด์ฃผ๋๋ฐ ๊ฐ์ด ์์กํ๋ค์ /******/ try { /******/ var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ }; /******/ __webpack_require__.i.forEach(function(handler) { handler(execOptions); }); /******/ module = execOptions.module; /******/ execOptions.factory.call(module.exports, module, module.exports, execOptions.require); /******/ } catch(e) { /******/ module.error = e; /******/ throw e; /******/ }
- 0
- 2
- 382




