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(Takuma HANATANI)
January 21, 2017
Programming
1
1.6k
npm run devは地球環境に悪い #kyotojs
potato4d(Takuma HANATANI)
January 21, 2017
Tweet
Share
More Decks by potato4d(Takuma HANATANI)
See All by potato4d(Takuma HANATANI)
どうせキレイに書けない処理は逆にAIに書いてもらうほうが良い説 / #kyotojs 22
potato4d
3
410
TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs
potato4d
1
2.3k
Vue.js with TSX - From Vue 2.x to Vue 3 #v_tokyo11
potato4d
9
4.9k
終わりゆく Vue 2.x 時代の状態設計のアンサー - Vue 3 の Provider への期待 / The Last Architecture of the Vue 2.x
potato4d
25
7k
Web Worker を使ってブラウザ上でポケモンの画像を解析したい! / Pokemon recognition from screenshots in browser using web worker
potato4d
0
1.3k
Firebase & Google Cloud によるサーバーレス帳票管理 #FJUG / Serverless Architecture in Candy
potato4d
8
3.7k
NestJS meetup Tokyo Opening Talk / What is NestJS? #nestjs_meetup
potato4d
11
4.2k
私たちはなぜ SPA で開発するのか / Why you choose SPA
potato4d
39
27k
Amplify Console 誕生以来本番運用しつづけてわかったこと #awswakaran_tokyo
potato4d
6
3.5k
Other Decks in Programming
See All in Programming
The state patternの実践 個人開発で培ったpractice集
miyanokomiya
0
140
#QiitaBash TDDで(自分の)開発がどう変わったか
ryosukedtomita
1
370
未来を拓くAI技術〜エージェント開発とAI駆動開発〜
leveragestech
2
170
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
1
710
フロントエンドのmonorepo化と責務分離のリアーキテクト
kajitack
2
130
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
230
大規模FlutterプロジェクトのCI実行時間を約8割削減した話
teamlab
PRO
0
490
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
200
JetBrainsのAI機能の紹介 #jjug
yusuke
0
210
『リコリス・リコイル』に学ぶ!! 〜キャリア戦略における計画的偶発性理論と変わる勇気の重要性〜
wanko_it
1
580
TanStack DB ~状態管理の新しい考え方~
bmthd
2
240
あのころの iPod を どうにか再生させたい
orumin
2
2.5k
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
695
190k
Six Lessons from altMBA
skipperchong
28
4k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Site-Speed That Sticks
csswizardry
10
780
How to Think Like a Performance Engineer
csswizardry
25
1.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Code Review Best Practice
trishagee
70
19k
Designing for Performance
lara
610
69k
How to train your dragon (web standard)
notwaldorf
96
6.2k
How STYLIGHT went responsive
nonsquared
100
5.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
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Λ͓͏