Today's web applications can get pretty big, especially the JavaScript part of them. As of mid-2018, HTTP Archive puts the median transfer size of JavaScript on mobile devices at approximately 350 KB. And this is just transfer size! JavaScript is often compressed when sent over the network, meaning that the actual amount of JavaScript is quite a bit more after the browser decompresses it. That's i
追記: 2019/04/24 本日リリースされたNode v12でESM周りの仕様が大幅に変更されました。 この記事の内容は既に古くなっているため、最新の情報は以下の公式ブログを参考にしてください。 Announcing a new — experimental-modules – Node.js Foundation – Medium 追記終了 この話を今日のNode学園で話すので、ご興味あればどうぞ。 nodejs.connpass.com (今日いくつか加筆修正しました) ECMAScript 2015で待望のES Modules(ESM)の仕様が策定されたものの実装がなかなか進まない、という話を1年前に発表した。 その後、ブラウザでのES Modules仕様が策定完了し、フラグ付きながら全主要モダンブラウザで初期実装が揃った (caniuse)。(dynamitterさん、kijt
はじめに Webpackでビルドしてできあがったバンドルが、気付いたらサイズが超でかいよ!! なんて時の犯人探しに役立つかもしれないTips。 webpack --display-modules で分析 webpackコマンドの実行時に--display-modulesオプションを付けると、インクルードしたnode_modulesやbower_components配下のモジュールについても詳細情報がわらわらと出力されるようになる。ここにサイズも出力されている。 $ webpack --display-modules Hash: 20265560bd210ea64e82 Version: webpack 1.12.12 Time: 7110ms Asset Size Chunks Chunk Names bundle.js 2.76 MB 0 [emitted] main [0] multi
書こう書こうと思いながらこのタイミングまでのがしてしまいました。 今一番 Node.js の中で hot な discussion の一つと言えるでしょう、『ES Modules が Node.js の中でどうなるか』です。 ES Modules 現況 ES2015 が発刊されてそろそろ一年です。 ES2015 にある機能は Node.js v6でも 93% 程度カバーされています。モダンブラウザでも大体が90%を超えています。しかし、 ES Modules だけはまだどのブラウザも実装しきれていません(kangax compat table は ES Modules は省かれてます)。 そもそも ECMAScript 2015 自身で定義されたのは構文だけなので、構文はともかく、どうやってモジュールを取ってくるかという Loader の部分がまだ決まりきっていません。 https://w
Stay organized with collections Save and categorize content based on your preferences. Region ID The REGION_ID is an abbreviated code that Google assigns based on the region you select when you create your app. The code does not correspond to a country or province, even though some region IDs may appear similar to commonly used country and province codes. For apps created after February 2020, REGI
Warning: This blog post is outdated. Instead, read chapter “Modules” in “Exploring JavaScript”. At the end of July 2014, TC39 [1] had another meeting, during which the last details of the ECMAScript 6 (ES6) module syntax were finalized. This blog post gives an overview of the complete ES6 module system. Module systems for current JavaScript # JavaScript does not have built-in support for modules,
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? GAEには Backend API という機能がありましたが、SDK 1.8.2で Modules API がリリースされ、その後、Backend APIは非推奨となりました。 このTopicではModulesとは何か?、Modulesの使い方、そして既存アプリの簡単な移行手順について説明します。 Modulesとはなにか? 元々GAEにはVersionという機能がありましたが、Modulesはその上にもう1階層を作ったサービスです。 既存のGAEAppのVersionは、Modulesではdefault Modulesの各Versio
2014年3月13日でBackends APIがdeprecatedになったので、Modulesに移行することにしました。 しかし情報がほとんどなくて苦労しました。 もし間違っている点があればご指摘ください。 BackendsをModulesに移行する手段は一応Googleの公式文書があります。 https://developers.google.com/appengine/docs/java/modules/converting 私の環境はこんな感じです ・Mac OS X 10.9.2 ・Eclipse + Google App Engine plugin ・Backendsは3つ。cron + TaskQueueで定期的に稼働 ■アプリのModule化 まずはアプリ自体を公式文書にしたがってModule化します。 1. Appのrootにある war フォルダを default にリ
Stay organized with collections Save and categorize content based on your preferences. App Engine offers you a choice between two Python language environments. Both environments have the same code-centric developer workflow, scale quickly and efficiently to handle increasing demand, and enable you to use Google’s proven serving technology to build your web, mobile and IoT applications quickly and
Google App Engine Modules のScalingを試す 2013/11/18 2:49 に 高野遼 が投稿 [ 2013/11/26 2:25 に更新しました ]
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く