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.5k
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
350
TSX First な Zero-Runtime SSG potato4d/dodai とその仕組み / owned static site generator #kyotojs
potato4d
1
2.2k
Vue.js with TSX - From Vue 2.x to Vue 3 #v_tokyo11
potato4d
9
4.8k
終わりゆく Vue 2.x 時代の状態設計のアンサー - Vue 3 の Provider への期待 / The Last Architecture of the Vue 2.x
potato4d
25
6.9k
Web Worker を使ってブラウザ上でポケモンの画像を解析したい! / Pokemon recognition from screenshots in browser using web worker
potato4d
0
1.2k
Firebase & Google Cloud によるサーバーレス帳票管理 #FJUG / Serverless Architecture in Candy
potato4d
8
3.6k
NestJS meetup Tokyo Opening Talk / What is NestJS? #nestjs_meetup
potato4d
11
4k
私たちはなぜ SPA で開発するのか / Why you choose SPA
potato4d
39
26k
Amplify Console 誕生以来本番運用しつづけてわかったこと #awswakaran_tokyo
potato4d
6
3.4k
Other Decks in Programming
See All in Programming
ナレッジイネイブリングにAIを活用してみる ゆるSRE勉強会 #9
nealle
0
150
バッチを作らなきゃとなったときに考えること
irof
2
520
自力でTTSモデルを作った話
zgock999
0
100
Better Code Design in PHP
afilina
0
160
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
160
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
370
もう僕は OpenAPI を書きたくない
sgash708
5
1.9k
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
240
複数のAWSアカウントから横断で 利用する Lambda Authorizer の作り方
tc3jp
0
110
技術を改善し続ける
gumioji
0
120
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
140
CloudNativePGを布教したい
nnaka2992
0
110
Featured
See All Featured
Side Projects
sachag
452
42k
How to Ace a Technical Interview
jacobian
276
23k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Done Done
chrislema
182
16k
The Cost Of JavaScript in 2023
addyosmani
47
7.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Into the Great Unknown - MozCon
thekraken
35
1.6k
A better future with KSS
kneath
238
17k
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Λ͓͏