Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Node.js Subpath imports
Search
nikawa2161
February 24, 2026
24
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node.js Subpath imports
nikawa2161
February 24, 2026
More Decks by nikawa2161
See All by nikawa2161
Sagaパターン入門(続編)
nikawa2161
0
33
Sagaパターン入門
nikawa2161
0
43
沖縄観光とPostgreSQL排他制約の話
nikawa2161
0
35
20251209_プログラミング原則の学び
nikawa2161
0
25
自分のコードを数年ぶりに読んだら
nikawa2161
0
20
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
28
oEmbedとは?
nikawa2161
0
120
はじめまして、にかわです
nikawa2161
0
20
課題を映す問題空間と、答えを描く解決空間
nikawa2161
0
17
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
340
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
370
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
610
4 Signs Your Business is Dying
shpigford
187
22k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Six Lessons from altMBA
skipperchong
29
4.3k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
960
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Ethics towards AI in product and experience design
skipperchong
2
320
Faster Mobile Websites
deanohume
310
32k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
410
Transcript
None
core-api @/
None
core-api import { getCompanyById } from "../../../../../actions/companies/getCompanyById"; @/
dist/ dist src core-api
compilerOptions.paths core-api/tsconfig.json paths
None
@/ // Before import { getCompanyById } from "../../../../../actions/companies/getCompanyById"; //
After import { getCompanyById } from "@/actions/companies/getCompanyById";
tsconfig.json @/* Module not found: Can't resolve '@/actions/companies/...'
None
None
package.json imports tsconfig.json paths # { "imports": { "#*": "./src/*"
} }
None
None
// Before: 深い相対パス import { getCompanyById } from "../../../../../actions/companies/getCompanyById"; //
After: # サブパスインポート import { getCompanyById } from "#actions/companies/getCompanyById/index.ts";
None
# Using 'imports' subpath '#*' with target './src/...'. Module name
'#actions/companies/getCompanyById/index.ts' was successfully resolved to '.../apps/core-api/src/...'
None
compilerOptions.paths @/ package.json imports #* ./src/*
None