filmov
tv
How to use ESBuild to load font files for Bootstrap Icons
Показать описание
A look at the copy and file loaders for ESBuild to load a font file to get Bootstrap Icons to work with Rails 7. The solution is surprisingly simple!
0:00 Bootstrap Icons font file dilemma
2:09 ESBuild setup with my Rails 7
3:39 Look at CSS in the ESBuild output
4:44 ESBuild file vs copy loader
6:28 ESBuild copy loader (attempt 1 ❌)
9:20 Modify Rails asset pipeline include path (attempt 2 ❌)
12:02 ESBuild precompile to rewrite the font file URL (attempt 3 ❌)
14:32 Change the font URL in Bootstrap's SCSS defaults 🎉
Resources:
Outtro Music:
CO.AG - Escape the Apex
0:00 Bootstrap Icons font file dilemma
2:09 ESBuild setup with my Rails 7
3:39 Look at CSS in the ESBuild output
4:44 ESBuild file vs copy loader
6:28 ESBuild copy loader (attempt 1 ❌)
9:20 Modify Rails asset pipeline include path (attempt 2 ❌)
12:02 ESBuild precompile to rewrite the font file URL (attempt 3 ❌)
14:32 Change the font URL in Bootstrap's SCSS defaults 🎉
Resources:
Outtro Music:
CO.AG - Escape the Apex
How to use ESBuild with JS Bundling in Rails
What Is ESBuild? - What Is Web Development
Introduction to ESBuild tutorial for React / JavaScript and Typescript bundling. Bye bye Webpack
Module Bundlers Explained... Webpack, Rollup, Parcel, and Snowpack
What is ESBuild
Next-generation JavaScript build tools: esbuild, Snowpack & Vite
Use esbuild in react typescript application
How to use ESBuild to load font files for Bootstrap Icons
ESBuild and SWC: Worth your time?
Bootstrap 5 + esbuild in Ruby on Rails 7
Alpha preview: Converting a import-mapped React app to use esbuild with JSX in Rails 7
Build an esbuild plugin
How to make your JavaScript Bundle Smaller
Creating an esbuild Plugin to Efficiently Copy Static Files
Vite in 100 Seconds
Why Are People Obsessed With ESBuild?
Moving away from importmaps to esbuild in Rails 7
Let's talk about esbuild
React SPA With JSX Using ESBuild In Ruby On Rails 7
Why we should convert react app to use Esbuild
Talking About Sass And ESBuild In Ruby On Rails 7
replace webpack with esbuild as your bundler with create react app
Why esbuild? Getting Started using a TypeScript // React example
How to use jQuery & jQueryUI with Esbuild
Комментарии