aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorIkko Ashimine <eltociear@gmail.com>2021-05-24 13:17:28 +0900
committerGitHub <noreply@github.com>2021-05-24 13:17:28 +0900
commit8fa404bc70d3a6fa4242f78ca8e5ee0ee6aeac41 (patch)
treebbb13b4072cd50e171477bdd3df42f4210559190 /files
parent21c27ee3aaefdd92e1de9d6627494e2e2ed66d64 (diff)
downloadtranslated-content-8fa404bc70d3a6fa4242f78ca8e5ee0ee6aeac41.tar.gz
translated-content-8fa404bc70d3a6fa4242f78ca8e5ee0ee6aeac41.tar.bz2
translated-content-8fa404bc70d3a6fa4242f78ca8e5ee0ee6aeac41.zip
web/javascript/reference/statements/import/index.html を翻訳 (#848)
* web/javascript/reference/statements/import/index.html を翻訳 * 未翻訳部分を更新 * web/javascript/reference/statements/import/index.html 翻訳修正 * ESM の前後に半角スペースを挿入 * 「エントリ」 -> 「エントリー」
Diffstat (limited to 'files')
-rw-r--r--files/ja/web/javascript/reference/statements/import/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/statements/import/index.html b/files/ja/web/javascript/reference/statements/import/index.html
index c45679f56c..3a1d28e495 100644
--- a/files/ja/web/javascript/reference/statements/import/index.html
+++ b/files/ja/web/javascript/reference/statements/import/index.html
@@ -107,7 +107,7 @@ var promise = import("<em>module-name</em>");
  }
})();</pre>
-<p>If your project uses packages that export ESM, you can also import them for side effects only. This will run the code in the package entry point file (and any files it imports) only. </p>
+<p>プロジェクトで ESM をエクスポートするパッケージを使用している場合は、副作用のためだけにインポートすることもできます。これにより、パッケージエントリーポイントファイル(およびインポートするすべてのファイル)のコードのみが実行されます。</p>
<h3 id="Importing_defaults" name="Importing_defaults">デフォルトをインポートする</h3>