並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 13 件 / 13件

新着順 人気順

exportsの検索結果1 - 13 件 / 13件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

exportsに関するエントリは13件あります。 JavaScripttypescriptTools などが関連タグです。 人気エントリには 『Next.jsのStatic Exportsを本番プロダクトで利用してみた感想と注意点 - Tabelog Tech Blog』などがあります。
  • Next.jsのStatic Exportsを本番プロダクトで利用してみた感想と注意点 - Tabelog Tech Blog

    目次 はじめに Static Exportsとは Static Exportsを採用した経緯 Static Exportsを利用する際の注意点 Dynamic Routingが使えない 対策 運用してみての感想 まとめ 最後に はじめに こんにちは。食べログ ウェブ開発部 FEチームの原田です。 昨年リリースした食べログノートではNext.jsを利用しており、Static Exportsを採用しています。 今回は食べログノートでStatic Exportsを採用した経緯や採用するための注意点、実際に運用してみての感想をお伝えします。 食べログノートの詳細については以下の記事も是非ご覧ください。 https://note.com/tabelog_frontend/n/na9a2ce24a4d5 Static Exportsとは Static Exportsとは、Next.jsのウェブアプリケ

      Next.jsのStatic Exportsを本番プロダクトで利用してみた感想と注意点 - Tabelog Tech Blog
    • package.json の imports / exports フィールド - 別にしんどくないブログ

      この記事は Node.js その2 Advent Calendar 2020 の 2 日目の記事です。投稿が大幅に遅れて申し訳ございません。 Node.js v15.3.0 から ES Modules が experimental から stable になりました 🎉 nodejs.org 今年はモジュール周りも大きく飛躍しました。個人的に仕事で探求していたこともあってモジュール周りを追うことが多かったです。 ES Modules を使って import できる npm パッケージも増えてきています。 そこで今回はモジュール関連で追加された package.json のフィールドについてまとめて紹介します。 以前会社のブログに書いた内容と重複する部分もありますが、そこでは紹介できなかった機能も紹介したいと思います。 blog.cybozu.io また、この記事の内容は Node.js の

        package.json の imports / exports フィールド - 別にしんどくないブログ
      • GitHub - webpro-nl/knip: ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

          GitHub - webpro-nl/knip: ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!
        • Node.js の exports と module.exports

          Node.js の exports と module.exports Node.js を使ったモジュールのエクスポートとインポート、require、exports、module.exports についての覚書です。以下は Node.js がインストールされていることを前提にしています。 Node.js では CommonJS (CJS) フォーマットが使われ、モジュールとその依存ファイルの定義には require と exports や module.exports を使います。 参考サイト:Understanding module.exports and exports in Node.js また、 CommonJS モジュールとは、Node.js 環境での JavaScript のモジュール化の仕組みです。 参考サイト:JavaScript Primer/CommonJSモジュール r

          • GitHub - nadeesha/ts-prune: Find unused exports in a typescript project. 🛀

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              GitHub - nadeesha/ts-prune: Find unused exports in a typescript project. 🛀
            • package.jsonのexportsフィールドについて

              npm パッケージとして複数のエントリーポイントを公開したい場合、mainフィールドは単一のエントリーポイントしか受け付けないので、exportsフィールドを利用することになると思うけども、その仕様等についての確認メモ。 In a package’s package.json file, two fields can define entry points for a package: "main" and "exports". The "main" field is supported in all versions of Node.js, but its capabilities are limited: it only defines the main entry point of the package. https://nodejs.org/api/packages.html#p

                package.jsonのexportsフィールドについて
              • GitHub - devbridge/js-unused-exports

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - devbridge/js-unused-exports
                • Deploying: Static Exports | Next.js

                  Static Exports Next.js enables starting as a static site or Single-Page Application (SPA), then later optionally upgrading to use features that require a server. When running next build, Next.js generates an HTML file per route. By breaking a strict SPA into individual HTML files, Next.js can avoid loading unnecessary JavaScript code on the client-side, reducing the bundle size and enabling faster

                    Deploying: Static Exports | Next.js
                  • Support for NodeJS 12.7+ package exports · Issue #33079 · microsoft/TypeScript

                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                      Support for NodeJS 12.7+ package exports · Issue #33079 · microsoft/TypeScript
                    • GitHub - pzavolinsky/ts-unused-exports: ts-unused-exports finds unused exported symbols in your Typescript project

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        GitHub - pzavolinsky/ts-unused-exports: ts-unused-exports finds unused exported symbols in your Typescript project
                      • Russia sanctions: What impact have they had on its oil and gas exports?

                        Russia sanctions: What impact have they had on its oil and gas exports? Since Russia's invasion of Ukraine, many countries have pledged to end or restrict their oil and gas imports to curtail Moscow's revenues and hinder its war effort. The Russian economy is highly dependent on its energy sector, and Europe is a major importer of Russian energy, making cutting back difficult.

                          Russia sanctions: What impact have they had on its oil and gas exports?
                        • Package exports | webpack

                          The exports field in the package.json of a package allows to declare which module should be used when using module requests like import "package" or import "package/sub/path". It replaces the default implementation that returns main field resp. index.js files for "package" and the file system lookup for "package/sub/path". When the exports field is specified, only these module requests are availab

                            Package exports | webpack
                          • package.json `exports` field not working with TypeScript

                            The version 13.2 of Node.js allows ESM modules and a new package.json field, called exports, to select and rewrite exported files. Before 13.2, I was importing files from the dist folder of my library with: import myfile from 'mylibrary/dist/myfile' With 13.2, I added this to my package.json: exports: { "./": "./dist/" } And tried to import files with: import myfile from 'mylibrary/myfile' But Typ

                              package.json `exports` field not working with TypeScript
                            1

                            新着記事