Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vercel monorepo対策 / Vercel monorepo
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
OKUNOKENTARO
September 19, 2021
Technology
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vercel monorepo対策 / Vercel monorepo
2021年9月19日の発表で使用した資料です。
OKUNOKENTARO
September 19, 2021
More Decks by OKUNOKENTARO
See All by OKUNOKENTARO
トレタO/X アーキテクチャ移行記 Next.js App Router化への道のり / TORETA TECH UPDATE 1
okunokentaro
5
12k
Podcastを継続する技術 / refactoradio-240119
okunokentaro
1
230
Webアプリケーション設計の第一歩は ディレクトリの整理から / Encraft 1
okunokentaro
33
10k
JSONとJSON Schemaを改めて理解する / tokyo_study
okunokentaro
9
2.5k
それでもどうしてRecoilを使うのか / Harajuku.ts Meetup Recoil
okunokentaro
19
5.7k
TypeScriptは10年でこんなに進化しました / TechFeed Experts Night 11
okunokentaro
6
1.8k
Hasura.io RDBをサクサク作る方法はARやO/RMだけじゃなくなりました/hasura-io
okunokentaro
5
730
コードには型アノテーションよりも要件アノテーションを増やせ!/harajukuts2
okunokentaro
14
6.6k
10年と3ヶ月でWebサービスを作った話 / Piyogrammer Conference 2021
okunokentaro
2
1.1k
Other Decks in Technology
See All in Technology
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
280
Futexes the good, the bad, the ugly
ennael
PRO
0
130
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
300
スキルを作る、その前に!複数人で使われるスキルを 作るためのプロセス
junkifurukawa
2
340
Kernel testing frameworks
ennael
PRO
0
110
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
430
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
200
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
3
370
The seven pitfalls of AI (revised version)
ufried
0
270
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
170
Google Cloud Next Tokyo 26登壇時のスクリプト
recruitengineers
PRO
0
200
大阪オフィスに Unitree Go2 がやってきたので Physical AI やってみた
dafujii
0
320
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
510
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
550
Abbi's Birthday
coloredviolet
4
10k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
480
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
A designer walks into a library…
pauljervisheath
211
25k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
470
Transcript
7FSDFMNPOPSFQPରࡦ 4FQ *SJT-5ձ !PLVOPLFOUBSP
୭ w Ԟݡଠ!PLVOPLFOUBSP w ΫϨεΣΞגࣜձࣾ w .Sղܾ w 5ZQF4DSJQUϑϩϯ τΤϯ
υ ɾ όοΫΤϯ υ
.POPSFQP w Ϟϊ Ϩϙ w NPOP಄ࣙ ʢϞϊΫϩɺ Ϟϊϩʔάɺ ϞϊϙϦʔʜʣ
w ͻͱͭͷ3FQPTJUPSZͰෳͷύοέʔδΛཧ͢Δ͜ͱ w ਖ਼ऀʹΑͬͯࢦͯ͠Δཻ͕ҧ͏ w ྫ ɿ ϝϧΧϦ4IPQTͷϞϊ Ϩϙ w ྫ ɿ OQNͰͷ044ʹ͓͚ΔϞϊ Ϩϙ
7FSDFMʹ͓͚ΔϞϊ Ϩϙ w 7FSDFMʹOݸͷ/FYUKTΞϓϦέʔγϣϯΛσϓϩΠͰ͖Δ w IUUQTWFSDFMDPNCMPHNPOPSFQPT w ͦͷ·Μ·ͳ໊લͷهࣄ͕͋Δ w Ұݟ͜ͷ·Μ·Εɺ
ͳ͍͚ͦ͘͏
Α ͘ ͋Δڞ௨Խ w 3FQPʹ"QQ" "QQ#͕͋ͬͨͱͯ͠ɺ w "ͱ#ͷڞ௨ίʔ υͲ͏͢Δ
ʁ w ྫ͑ϩάΠϯॲཧɺ ڥมͷҧ͍͚ͩͰΓͷϑϩʔͯ͢Ұॹ w ڥม͚ͩҾԽͯ͠ɺ ͋ͱؔʹ͍ͨ͠ w Ͳ͜ʹஔ͘ ʁ
6OJWFSTBMσΟ ϨΫ τ Ϧ w "QQ" "QQ#ͱܑఋͷσΟ ϨΫ τ Ϧ
ͱͯ͠VOJWFSTBMΛஔ͘ w ./app-a ./app-b ./universalΈ͍ͨʹͳΔ w ൵͍͜͠ͱʹ͜Ε·ͬͨ͘ಈ͔ͳ͍ w 8FCQBDLΞϓϦέʔγϣϯͷϧʔ τΑ ΓΛࢀর͢Δ͜ͱ͕Ͱ͖ͳ͍ w DPO fi HͰରࡦ͢Δ
OFYUDPO fi HKT module.exports = { webpack: (config) => {
const tsRule = config.module.rules.find((v) => v.test ? . toString().includes("ts") ); // app ΑΓ্ͷσΟϨΫτϦʹ͋Δ universal Λऔಘ͢ΔͨΊʹઃఆ const projectRoot = path .parse( __ filename) .dir.split(path.sep) .slice(0, -1) .join(path.sep); tsRule.include.push(projectRoot); return config; }, };
͜Ε͚ͩ͡Ό·ͩͩΊ w ϩʔΧϧͰϏϧυͰ͖Δ w 7FSDFMଆͰ·ͩϏϧυࣦഊ͢Δ w ͳͥͳΒ7FSDFMͷεΫ Ϧ ϓτͰΞϓϦέʔγϣϯϧʔ τ͔͠
npm iͯ͘͠Εͳ͍ w VOJWFSTBMͰ͏ ϥΠ ϒϥ ϦಡΈࠐ·ΕͣΤϥʔͱͳΔ
*OTUBMM$PNNBOE্ॻ͖ w *OTUBMM$PNNBOEΛ্ॻ͖ͯ͠ɺ ͦ͜Ͱͷnpm iΛ࣮ߦ͢Δ w OQNͷόʔδϣϯ͕ ἧΘͳ͍ͱ͖ɺ
͜͜ͰڧҾʹ͍ΕΔ
5IBOLZPV