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
npm run devは地球環境に悪い #kyotojs
Search
potato4d(Hanatani Takuma)
January 21, 2017
Programming
1
1.4k
npm run devは地球環境に悪い #kyotojs
potato4d(Hanatani Takuma)
January 21, 2017
Tweet
Share
More Decks by potato4d(Hanatani Takuma)
See All by potato4d(Hanatani Takuma)
TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs
potato4d
1
1.7k
Vue.js with TSX - From Vue 2.x to Vue 3 #v_tokyo11
potato4d
9
4.6k
終わりゆく Vue 2.x 時代の状態設計のアンサー - Vue 3 の Provider への期待 / The Last Architecture of the Vue 2.x
potato4d
25
6.5k
Web Worker を使ってブラウザ上でポケモンの画像を解析したい! / Pokemon recognition from screenshots in browser using web worker
potato4d
0
980
Firebase & Google Cloud によるサーバーレス帳票管理 #FJUG / Serverless Architecture in Candy
potato4d
8
3.3k
NestJS meetup Tokyo Opening Talk / What is NestJS? #nestjs_meetup
potato4d
11
3.6k
私たちはなぜ SPA で開発するのか / Why you choose SPA
potato4d
39
25k
Amplify Console 誕生以来本番運用しつづけてわかったこと #awswakaran_tokyo
potato4d
6
3.1k
気軽な Node.js バックエンド開発には TypeORM がちょうどいい #kng7 / introduce-typeorm
potato4d
9
4.2k
Other Decks in Programming
See All in Programming
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.3k
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
930
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
830
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
250
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
900
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
150
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
960
見た目から始める生産性向上
ikumatadokoro
7
830
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.4k
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
130
Featured
See All Featured
How to name files
jennybc
65
93k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
What's in a price? How to price your products and services
michaelherold
237
11k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Done Done
chrislema
178
15k
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
14
1.6k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Web development in the modern age
philhawksworth
202
10k
Transcript
npm run dev ٿڥʹѱ͍ npm startΛͬͯ͘Ε
Potato4d TAKUMA HANATANI
webpack-dev-server
ΒͤΔ
npm run script
npm start
vs
npm run dev
Ͳͬͪʁ
npm run dev ٿʹѱ͍
npm start
9จࣈ
npm run dev
11จࣈ
ೋจࣈࠩ
λΠϐϯάͷফඅΧϩϦʔ
ggͬͯग़ͯ͜ͳ͔ͬͨ
1ΫϦοΫͷফඅΧϩϦʔ
ͨͿΜେମಉ͡
None
1.4ΧϩϦʔ (Α͘Θ͔Βͳ͍α Πτใ)
େମҰʹ30ճ͙Β͍ୟ͘ (ഽײ)
1.4 * 30
42ΧϩϦʔ (Α͘Θ͔Βͳ͍α Πτใ)
௨Ͱߟ͑Δ
42 * 365
15kcal
ҰੜͰߟ͑Δ
UVERWorldʢϩοΫόϯ υʣݴͬͨ
ʮਓੜ͕100ͩͬͨͱ͠ ͯʯ ΞϧόϜʮ0 choirʯΑΓ
ਓੜ100
15 * 100
1,500kcal
࠷ޙʹλΠϓ͕2ଟ͍ͷͰ
1500 * 2
3,000kcal
Lϐβ1͙ͭΒ͍
ʂʂʂʂ
npm run devʹ͢Δ͜ͱͰਓ ྨ͕Ұਓ͋ͨΓҰੜͰ 3,000kcalΛແବʹফඅ͢Δ
ແବʹফඅ͞ΕΔΧ ϩϦʔΛิర͢Δ
৯ྉͷফඅ͕ਐΉ
ྲྀ͕Ճ
CO2Ψε͕ഉग़͞ ΕΔ
ੈք่͕յ͢Δ
݁
npm run devΛ ͏ͱੈք่͕յ͢Δ
λΠϓͷগͳ͍ npm startΛ͓͏