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.6k
Other Decks in Programming
See All in Programming
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
1.8k
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
600
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
530
はじめてのMaterial3 Expressive
ym223
2
830
速いWebフレームワークを作る
yusukebe
5
1.7k
複雑なドメインに挑む.pdf
yukisakai1225
5
1.2k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
CJK and Unicode From a PHP Committer
youkidearitai
PRO
0
110
Swift Updates - Learn Languages 2025
koher
2
490
Cache Me If You Can
ryunen344
2
1.5k
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
360
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Why Our Code Smells
bkeepers
PRO
339
57k
Fireside Chat
paigeccino
39
3.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Producing Creativity
orderedlist
PRO
347
40k
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Λ͓͏