-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Open
Labels
needs-triageThis bug needs to be confirmedThis bug needs to be confirmed
Description
Bug description
I was using 6.7.2:
/*!
* Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2024 Fonticons, Inc.
*/
// Font Awesome core compile (Web Fonts-based)
// -------------------------
@import 'functions';
@import 'variables';
@import 'mixins';
@import 'core';
@import 'sizing';
@import 'fixed-width';
@import 'list';
@import 'bordered-pulled';
@import 'animated';
@import 'rotated-flipped';
@import 'stacked';
@import 'icons';
@import 'screen-reader';
And upgraded to 7.1.0 (latest):
/*!
* Font Awesome Pro 7.1.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Commercial License)
* Copyright 2025 Fonticons, Inc.
*/
// Font Awesome core compile (Web Fonts-based)
// -------------------------
@use 'core';
@use 'sizing';
@use 'widths';
@use 'list';
@use 'bordered';
@use 'pulled';
@use 'animated';
@use 'rotated-flipped';
@use 'stacked';
@use 'icons';
If you see, @import 'variables'; is missing
When I try to build now I get this error:
Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Undefined variable.
╷
235 │ content: fa-content($var-camera);
This is located in variables.scss: $var-camera: \f030; but I wonder why was this removed.
Reproducible test case
No response
Screenshots
No response
Font Awesome version
v7.1.0
Serving
Self-hosted
Implementation
CSS
Browser and Operating System
Not testing on browser yet, just compiling project
Web bug report checklist
- I have included a test case because my odds go way up that the team can fix this when I do
- I have searched for existing issues and to the best of my knowledge this is not a duplicate
Metadata
Metadata
Assignees
Labels
needs-triageThis bug needs to be confirmedThis bug needs to be confirmed