並び順

ブックマーク数

期間指定

  • から
  • まで

161 - 200 件 / 228件

新着順 人気順

webpackの検索結果161 - 200 件 / 228件

  • 個人サイトのビルドツールをwebpackからViteに移行した - valid,invalid

    個人サイト https://ohbarye.github.io/ のビルドツールをwebpackからViteに移行した。 まぁ、移行と大げさに言っても、元々vanilla JSとSassでちょっと動きと装飾を付けただけのペライチページなのだけど。 実質ただのリンク集 理由 State of JS 2021のビルドツール部門でViteが1位になっていたが利用したことがなく気になっていたため。手元にある最小のフロントエンドプロジェクトが個人サイトだったのでplaygroundとして試してみた。 https://2021.stateofjs.com/en-US/libraries/build-tools より Viteとは Vite公式を斜め読みした。ランキング中だと経験あるビルドツールがwebpack, Parcel, Rollupあたりで止まっていたのでそこからの差分で理解すると... es

      個人サイトのビルドツールをwebpackからViteに移行した - valid,invalid
    • Storybook on-demand architecture

        Storybook on-demand architecture
      • Rsdoctor

        March 19, 2025 Announcing Rsdoctor 1.0# We are excited to announce the official release of Rsdoctor 1.0! After a year of development and testing, we are proud to introduce Rsdoctor 1.0 — a build analyzer tailored for the Rspack ecosystem and fully compatible with the webpack ecosystem. Rsdoctor is committed to being a one-stop, intelligent build analyzer that makes the build process transparent, p

          Rsdoctor
        • 【webpack-dev-server】Cannot find module 'webpack-cli/bin/config-yargs'【webpack-cli4系】 - Qiita

          Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

            【webpack-dev-server】Cannot find module 'webpack-cli/bin/config-yargs'【webpack-cli4系】 - Qiita
          • WebpackとWorkboxでらくらくオフライン対応 | フロントエンドBlog | ミツエーリンクス

            昨今の世界的な情勢を受けて、GoogleはWebサイトが常に利用可能であるためのガイダンスを公開しました。「Availability, reliability, resilience, and stability」のセクションでは主にファイルの配信について書かれており、サイトへのトラフィックが増えることによって起こりうる問題に備えるための手法を見ることができます。そのうちの1つがService Workerを利用してオフライン対応をすることです。オフライン対応をするには必要なファイルを適切にキャッシュすることが求められますが、Googleはその手段の1つとしてWorkboxの利用を推奨しています。 Workboxとは WorkboxとはService Workerを手軽に扱うためのツールキットです。BackgroundSyncやGoogle Analytics用のモジュールが多数用意されて

              WebpackとWorkboxでらくらくオフライン対応 | フロントエンドBlog | ミツエーリンクス
            • with IE(JavaScriptのIE11対応) - Qiita

              はじめに 政府や行政サイトの「IE縛り」に代表されるように、IE汚染国である日本で仕事としてJavaScriptを書く場合、IEと共存するしなければならない場合が多いです。 with コロナならぬwith IEです。 IE生活様式 Transpile Bundle Polyfill TranspileとBundle は、ES5の書き方で1つのファイルに書いていれば不要です。 エンジニアが不便を我慢すれば必要ない工程ではありますが、そんな我慢はしたくありません。 コロナで言えばマスク、消毒、手洗い、うがい、密を避ける、換気のような個人でできる対策に当たると思います。 Polyfillは、もともとIE11が対応していない機能に対応させるもので、コロナでいえば治療薬ともいえるものだと思いますが、薬なのでリスクもあります。 コロナと違って、みんなでIEやめる合意が取れればIE対応せずに済む世界にな

                with IE(JavaScriptのIE11対応) - Qiita
              • Blazing fast TypeScript with Webpack and ESBuild

                Recently, I migrated a project I've been working on to TypeScript. I decided to use Webpack in combination with esbuild loader. The reason being esbuild ecosystem is still relatively new when compared to other bundlers like Webpack, rollup, parcel etc. in terms of plugins and loaders. Code for this article is available here. I've also made a video for you, if you're a visual learner like me! What

                  Blazing fast TypeScript with Webpack and ESBuild
                • 【Webpack】webpack.config.jsの内容がいまいちわからない方々へ - Qiita

                  はじめに Webpackは、JavaScript, CSS, JPGなどのリソースを一つのjsファイルにバンドルする(まとめる)ツールです。 バンドルすることで、各リソースの依存関係を気にする必要がなくなり、不適切な順序でファイルが実行されるような心配がなくなります。 モダンなJS開発でほぼ必須のWebpackですが、設定ファイルwebpack.config.jsの中身についていまいちよくわかっていませんでした。 設定ファイルを自由にカスタムできるようになれば開発の幅も広がる気がしたので、以下の基本項目について学びなおしました。 Entry & Output Asset Modules Loaders Plugins Mode Entry & Output バンドル設定の手始めとして、entryに入力ファイルのエントリーポイント、outputにバンドル後の出力ファイル名filenameと作

                    【Webpack】webpack.config.jsの内容がいまいちわからない方々へ - Qiita
                  • Production Webpack Bundle Analyzer - GradeJS

                    Analyze webpack production bundleGradeJS analyzes production JavaScript files and detects bundled modules and third-party packages. It works even for tree-shaken bundles and without access to the source code of a website or webpack stats files.

                    • Understanding why our build got 15x slower with Webpack 5 | Tines

                      Meet the productExplore our core capabilities to transform your workflows.

                        Understanding why our build got 15x slower with Webpack 5 | Tines
                      • GitHub - DataDog/build-plugins: A set of universal bundler plugins to interact with Datadog directly from your builds.

                        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 - DataDog/build-plugins: A set of universal bundler plugins to interact with Datadog directly from your builds.
                        • Nuxt.jsのビルドを高速化してみる - ContractS開発者ブログ

                          こんにちは。Holmesでエンジニアをしている三澤です。 背景 弊社ではフロントエンドフレームワークとしてNuxt.jsを利用しています。プロジェクトが進みコードが増えてくるとビルドに時間がかかってくるのが悩みの種です。 ビルド時に最も時間がかかっているのは下記の画像の部分ですが、恐らくwebpackのビルドに最も時間がかかっているのではないかと仮定しました。 この仮定に基づいて何かいい方法はないかと探しているとNuxt.js本家のGithub上で興味深いissueを見つけました。 github.com ここでNuxtの中の人がこのようなことを言っていました。 今回は上記のコメントで取り上げられている方法を試してNuxt.jsのビルド高速化(=webpackのビルド高速化)に取り組んでみたいと思います。 背景 概要 実行結果 何もしていない場合 parallelプロパティ cacheプロパ

                            Nuxt.jsのビルドを高速化してみる - ContractS開発者ブログ
                          • Release v5.0.0 · facebook/create-react-app

                            v5.0.0 (2021-12-14) Create React App 5.0 is a major release with several new features and the latest version of all major dependencies. Thanks to all the maintainers and contributors who worked so hard on this release! 🙌 Highlights webpack 5 (#11201) Jest 27 (#11338) ESLint 8 (#11375) PostCSS 8 (#11121) Fast Refresh improvements and bug fixes (#11105) Support for Tailwind (#11717) Improved packag

                              Release v5.0.0 · facebook/create-react-app
                            • Webpack 5 Adoption

                              Why This Message Occurred Next.js has adopted webpack 5 as the default for compilation. We've spent a lot of effort into ensuring the transition from webpack 4 to 5 will be as smooth as possible. Your application currently has webpack 5 disabled using the webpack5: false flag which has been removed in Next.js 12: module.exports = { // Webpack 5 is enabled by default // You can still use webpack 4

                                Webpack 5 Adoption
                              • webpack or esbuild: Why not both? - LogRocket Blog

                                John Reilly MacGyver turned Dev 🌻❤️ TypeScript / ts-loader / fork-ts-checker-webpack-plugin / DefinitelyTyped: The Movie Builds can be made faster using tools like esbuild. However, if you’re invested in webpack but would still like to take advantage of speedier builds, there is a way. In this tutorial, we’ll show you how to use esbuild alongside webpack with esbuild-loader. The world of web deve

                                  webpack or esbuild: Why not both? - LogRocket Blog
                                • Design Trade-offs in Bundler: The Rationale Behind Creating Rspack · web-infra-dev · Discussion #1

                                  chinese version Before embarking on the development of Rspack, we explored various build tools and frameworks, including extensive use of Webpack, Vite, esbuild, and Rollup in real-world production environments. To provide some context, our team, known as the WebInfra Team, is responsible for overseeing the company's suite of front-end build tools and frameworks. Some of these are open-source, whi

                                    Design Trade-offs in Bundler: The Rationale Behind Creating Rspack · web-infra-dev · Discussion #1
                                  • GitHub - sysgears/webpack-virtual-modules: Webpack Virtual Modules is a webpack plugin that lets you create, modify, and delete in-memory files in a way that webpack treats them as if they were physically presented in the file system.

                                    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 - sysgears/webpack-virtual-modules: Webpack Virtual Modules is a webpack plugin that lets you create, modify, and delete in-memory files in a way that webpack treats them as if they were physically presented in the file system.
                                    • 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
                                      • webpackとesbuild-loaderで爆速なVue開発環境を構築しよう

                                        npm i -D esbuild-loader fork-ts-checker-webpack-plugin html-webpack-plugin postcss-loader sass-loader css-loader thread-loader vue-loader vue-style-loader node-sass autoprefixer cssnano { "dependencies": { "vue": "^2.6.14" }, "devDependencies": { "@types/webpack": "^5.28.0", "autoprefixer": "^10.2.6", "css-loader": "^5.2.6", "cssnano": "^3.10.0", "esbuild-loader": "^2.13.1", "fork-ts-checker-webpa

                                          webpackとesbuild-loaderで爆速なVue開発環境を構築しよう
                                        • React: import時のaliasを設定するときはWebpack、TypeScript、ESLintの3つを対応しなければならない件 - Qiita

                                          Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                            React: import時のaliasを設定するときはWebpack、TypeScript、ESLintの3つを対応しなければならない件 - Qiita
                                          • vue-tsc を使った TypeScript Strict Mode の漸進的導入 - VISASQ Dev Blog

                                            こんにちは、ビザスクアドバイザー開発チーム、フロントエンドエンジニアの山元(@yamagen0915)です。 はじめに 弊社にはいくつかのフロントエンド環境があり、その中には TypeScript の strict mode が有効でない環境もあり、それらを strict mode が有効な環境へ移行を進めようとしています。 しかし移行と並行して新規開発も行われるため、strict mode でエラーとなるコードを増やさないようにする必要があることと、各チームのメンバーに strict mode な環境に慣れてもらう必要がありました。 そこで vue-tsc を使ってデプロイには影響を与えずに開発時のみ strict mode が有効な環境で開発ができるようにし始めたのでその方法を紹介したいと思います。 vue-tsc とは vue-tsc とは VSCode の Vue 向け Exten

                                              vue-tsc を使った TypeScript Strict Mode の漸進的導入 - VISASQ Dev Blog
                                            • フロントエンド最新ビルドツールを調べてみた - RAKUS Developers Blog | ラクス エンジニアブログ

                                              はじめに まずはwebpack esbuild swc Snowpack Vite まとめ はじめに こんにちは。フロントエンドチームの岡山です。 私の担当するプロジェクトでは現在Vue2を使っており、webpack(vue-cli)を使ってビルドを行っています。 webpack自体は非常に有用なツールではありますが、あえて不満を挙げるならビルドが遅いことでしょう。 キャッシュや処理の並列化など、高速化のためにビルド設定の最適化を行ってはいますがそれでも遅いです。 小さいプロジェクトでは気にならなくても、大きくなるとともにこの問題が顕在化し、無視できなくなるかもしれません。 この記事では高速なビルドを可能にする新興勢力をいくつかご紹介します。 まずはwebpack 比較対象がないと評価しにくいので、最初にwebpack5 + ts-loaderを使います。 React + TypeScri

                                                フロントエンド最新ビルドツールを調べてみた - RAKUS Developers Blog | ラクス エンジニアブログ
                                              • GitHub - rails/jsbundling-rails: Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.

                                                Use Bun, esbuild, rollup.js, or Webpack to bundle your JavaScript, then deliver it via the asset pipeline in Rails. This gem provides installers to get you going with the bundler of your choice in a new Rails application, and a convention to use app/assets/builds to hold your bundled output as artifacts that are not checked into source control (the installer adds this directory to .gitignore by de

                                                  GitHub - rails/jsbundling-rails: Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
                                                • Rspack

                                                  RspackThe fast Rust-based web bundler Seamlessly replace webpack with compatible API Why Rspack?Rspack is a high performance JavaScript bundler written in Rust. It offers strong compatibility with the webpack ecosystem, allowing for seamless replacement of webpack, and provides lightning fast build speeds. Fast StartupCombining TypeScript and Rust with a parallelized architecture to bring you the

                                                    Rspack
                                                  • To v5 from v4 | webpack

                                                    This guide aims to help you migrating to webpack 5 when using webpack directly. If you are using a higher level tool to run webpack, please refer to the tool for migration instructions. Preparations Webpack 5 requires at least Node.js 10.13.0 (LTS), so make sure you upgrade your Node.js if you're still running an older one. Upgrade webpack 4 and its plugins/loaders Upgrade webpack 4 to the latest

                                                      To v5 from v4 | webpack
                                                    • CDNから引っ張ったjqueryやlodashをtypescriptで使う - Qiita

                                                      Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                                        CDNから引っ張ったjqueryやlodashをtypescriptで使う - Qiita
                                                      • webpack-dev-server/migration-v4.md at master · webpack/webpack-dev-server

                                                        webpack-dev-server v3 and webpack-dev-server v4 automatically apply HotModuleReplacementPlugin plugin when you set hot: true, so please check you don't have HotModuleReplacementPlugin in your plugins if you have hot: true/hot: "only" webpack-dev-server v3 and webpack-dev-server v4 automatically inject webpack/hot/dev-server in your entry option when you set hot: true (except when you use injectHot

                                                          webpack-dev-server/migration-v4.md at master · webpack/webpack-dev-server
                                                        • Using Webpacker in Your Ruby on Rails Application — a Deep Dive | AppSignal Blog

                                                          ruby Using Webpacker in Your Ruby on Rails Application — a Deep Dive At the beginning of the internet age, websites were much simpler and not very interactive. With the advancement of technology, devices, and programming languages, they became more complex and consisted of several files, including assets like images and CSS stylesheets. The more interactive your website is, the more JavaScript cod

                                                            Using Webpacker in Your Ruby on Rails Application — a Deep Dive | AppSignal Blog
                                                          • 一から作るモダンフロントエンド環境【Webpack & Babel編】 - Qiita

                                                            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                                              一から作るモダンフロントエンド環境【Webpack & Babel編】 - Qiita
                                                            • 【webpack】webpack設定を一からまとめてみる① - Qiita

                                                              webpackとは フロントエンド開発におけるオープンソースのモジュールバンドラーである。 ここで言うモジュールとは、JavascriptやCSS、画像などのファイルを示し、モジュールバンドラーとはこれらのファイルをまとめる役割を持つ。現在の最新はバージョン5となっている。 webpackを利用するメリット ・自動でファイルの依存関係を解決してくれる ・リソースをコンパクトにしてくれる ・ローダーや各種プラグインを導入する事でデフォルトの設定を上書きし、機能を拡張する事が出来る 導入方法 ####①Node.jsをインストールする webpackはNode.jsで動かす為、最初にインストールしておく。 ####②フロントエンドパッケージを初期化 Node.js上で動かすモジュールの管理には今回npmを使用する。

                                                                【webpack】webpack設定を一からまとめてみる① - Qiita
                                                              • Rspack

                                                                Announcing Rspack 1.0# August 28, 2024 We are excited to introduce Rspack 1.0! Rspack is a next-generation JavaScript bundler written in Rust, compatible with the webpack API and ecosystem, and is 10 times faster than webpack. Eighteen months ago, we open-sourced Rspack 0.1 and received substantial feedback and contributions from the community. During this time, 170 contributors have joined in the

                                                                  Rspack
                                                                • Web制作向けwebpack - Qiita

                                                                  Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                                                    Web制作向けwebpack - Qiita
                                                                  • TypeScript CDN の jQuery を使いたい - かもメモ

                                                                    テンプレートエンジンで直接 script を呼ぶ古代の環境の開発をしています。 前回 TypeScript を babel + webpack でトランスパイルできるようにしたのですが、なんとこのプロジェクトでは古の jQuery が使われていました!!!! CDN から読み込まれている jQuery を使用している箇所で TypeError になってしまうので TypeScript で CDN で読み込まれている jQuery を扱えるようにしたメモ (レガシー環境過ぎて誰得なんだ…) Webpack で bundle しないための設定 Externals The externals configuration option provides a way of excluding dependencies from the output bundles. Instead, the cre

                                                                      TypeScript CDN の jQuery を使いたい - かもメモ
                                                                    • Node.js v17 で webpack error - Qiita

                                                                      digital envelope routines::unsupported Node.js が v17 になって以降(2021年10月19日) 、webpack (v5) で次のようなエラーがでるようになりました。 Webpack in development mode [webpack-cli] Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:67:19) at Object.createHash (node:crypto:130:10) ... <anonymous>:6:1) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initializatio

                                                                        Node.js v17 で webpack error - Qiita
                                                                      • Vuetify2を使ったプロジェクトのビルドが遅いので高速化する - Qiita

                                                                        Vuetify+Vue CLIで構築したプロジェクトで、 Vuetify2.xにアップグレードしたらnpm run serveの開始時間が著しく長くなってしまったので改善します。 原因 Vuetify2.0よりデフォルトで有効となったA-la-carte(treeshaking)が原因です。 A-la-carteとは Vuetifyの数多くのコンポーネントのうち、「プログラム中で使われているもの」だけを成果物に含める機能です。使っていないコンポーネントをimportしないので、ビルドサイズが減少します。 しかしながら、これはビルド時間を増大させます。 A-la-carteを使わない場合、vuetifyの全てのコンポーネントはnode_modules/vuetify/dist/vuetify.min.jsから読み込まれます。これは既にimportの解決やminifyが済んでいるプリコンパイル

                                                                          Vuetify2を使ったプロジェクトのビルドが遅いので高速化する - Qiita
                                                                        • Webpackで始めるVue.js | log.pocka.io

                                                                          • 【webpack5】ts-loader + babel-loader を併用する【TypeScript】 - Qiita

                                                                            Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                                                              【webpack5】ts-loader + babel-loader を併用する【TypeScript】 - Qiita
                                                                            • Tree-Shaking

                                                                              Use tree-shaking to automatically subset and include only the icons you’re using. Beginning with the excellent tool Rollup.js by Rich Harris, the concept of tree-shaking attempts to eliminate any unused code. Webpack 2 now includes this as well. Using Font Awesome with Tree-shaking The Font Awesome icon packages support tree-shaking out of the box but only if your tool is tree-shaking compatible.

                                                                                Tree-Shaking
                                                                              • 柔軟に対応できるフロントエンド開発環境を構築する 2022 | MONSTER DIVE

                                                                                ナマのHTML、CSSを書いていた頃が懐かしいと感じる今日この頃ですが、今は今で様々な開発方法(モジュールバンドラ)が乱立しています。 MONSTER DIVEではみんながみんな同じ環境で開発するのではなく、それぞれのスキルセットに合わせて柔軟に対応できるようにベースとなる環境を用意しクリエイターそれぞれがカスタマイズして開発を進めています。 デザイナーなど非エンジニアがコードを触る機会もありますが最低限Sassは使用するという点だけ縛りがあります。 そんなMONSTER DIVEでのフロントエンド開発環境を簡単にご紹介します。 タスクランナー 「タスクランナー」とは、「タスク(仕事・課題)」をプログラム処理で自動化してくれるツール全般のことを指します。 フロントエンドの制作業務の中で出てくる単純作業を自動化してしまい、業務の効率化、サイトの品質を守るが目的です。 Grunt→Gulpとタ

                                                                                  柔軟に対応できるフロントエンド開発環境を構築する 2022 | MONSTER DIVE
                                                                                • Etsy Engineering | The journey to fast production asset builds with Webpack

                                                                                  Etsy has switched from using a RequireJS-based JavaScript build system to using Webpack. This has been a crucial cornerstone in the process of modernizing Etsy’s JavaScript ecosystem. We’ve learned a lot from addressing our multiple use-cases during the migration, and this post is the first of two parts documenting our learnings. Here, we specifically cover the production use-case -- how we set up

                                                                                    Etsy Engineering | The journey to fast production asset builds with Webpack

                                                                                  新着記事