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
'faStopwatch_20' is not exported by ../../../../home/stefan/dev/projects/ember-fontawesome/node_modules/@fortawesome/free-solid-svg-icons/index.es.js, imported by exports-free-solid-svg-icons.js
Expected behavior
The build is expected to pass successfully.
Desktop (please complete the following information):
ember-cli: 3.28.3
node: 16.13.0
os: linux x64
Additional context
The problem here seems to be that the generated lookup key for the icon is constructed incorrectly. the correct icon key would be faStopwatch20 rather than faStopwatch_20
i tracked this down to the camelCasing library used, see FontAwesomePack::build() for implementation details.
My current workaround is to omit the dash before the number, like so:
Describe the bug
Build error when attempting to include
stopwatch-20
inicons.js
.Reproducible test case
check out this branch and then run
ember build
on it after you installed packages.https://github.com/stopfstedt/ember-fontawesome/tree/stopwatch-20
it's fail with an error message similar to
'faStopwatch_20' is not exported by ../../../../home/stefan/dev/projects/ember-fontawesome/node_modules/@fortawesome/free-solid-svg-icons/index.es.js, imported by exports-free-solid-svg-icons.js
Expected behavior
The build is expected to pass successfully.
Desktop (please complete the following information):
ember-cli: 3.28.3
node: 16.13.0
os: linux x64
Additional context
The problem here seems to be that the generated lookup key for the icon is constructed incorrectly. the correct icon key would be
faStopwatch20
rather thanfaStopwatch_20
i tracked this down to the camelCasing library used, see
FontAwesomePack::build()
for implementation details.My current workaround is to omit the dash before the number, like so:
The text was updated successfully, but these errors were encountered: