20230918-rallit-standalone/ #43
Replies: 2 comments 2 replies
-
저도 비슷한 상황 (dd-trace, 및 기타 preload 필요)에서 standalone을 적용했었는데, 이렇게 보니 반갑네요. next 13.1.x 버전까지는 dd-trace가 잘 작동했던거로 기억하고 있는데, preload된 라이브러리들은 vercel nft가 사용하는 라이브러리 인식하지 않고 standalone 패키지에서 제외되는 문제가 있었고, dockerfile에서 global install 후 node process 환경변수에 global module path를 지정해서 해결했었습니다. next config에서 nft에 포함시킬 라이브러리 지정이 쉽게 되면 좋겠는데 아직 개발중인 단계라 직접 만져줘야 하는 것들이 많은 것 같아요. |
Beta Was this translation helpful? Give feedback.
-
안녕하세요 저희도 비슷한 사유로 standalone방식을 적용하던 차에 블로그를 방문했습니다 덕분에 잘 적용했습니다 build:dev : env-cmd -f ./env/.env.development next build 이렇게 빌드를 하면 env파일 이동없이도 환경변수를 인식하더라고요 진짜 알수록 무지해집니다. |
Beta Was this translation helpful? Give feedback.
-
20230918-rallit-standalone/
https://tech.inflab.com/20230918-rallit-standalone/
Beta Was this translation helpful? Give feedback.
All reactions