What SharePoint development model, framework, SDK or API is this about?
š„ SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
[ ] š„ Internet Explorer
[ ] š„ Microsoft Edge
[X] š„ Google Chrome
[ ] š„ FireFox
[ ] š„ Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
browser version
SPFx version 1.4.1
Node.js version 10
devextreme-react: 21.2.4
Describe the bug / error
Hi,
I am developing an on-prem webpart using devextreme, which uses woff2 files for icons. The trouble I have is that if I run the solution via gulp serve... then the icons are not loaded properly. On the other hand, when I run the solution via spfx-fast-serve package then the icons are loaded correctly. This problem occurs only on-prem, I had no trouble with this in shp online.
vs
I've already created the issue in the fast-serve repo, but unfortunately, it did not help me (link)
Target SharePoint environment
SharePoint Server 2019 (on-premise)
What SharePoint development model, framework, SDK or API is this about?
š„ SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Hi,
I am developing an on-prem webpart using devextreme, which uses woff2 files for icons. The trouble I have is that if I run the solution via
gulp serve...
then the icons are not loaded properly. On the other hand, when I run the solution viaspfx-fast-serve
package then the icons are loaded correctly. This problem occurs only on-prem, I had no trouble with this in shp online.vs
I've already created the issue in the fast-serve repo, but unfortunately, it did not help me (link)
gulpfile.js
fast-serve/webpack.extend.js
copy-static-assets.json
Loading fonts in
fast-serve
is okay, but there is nothing loading (woff2) ingulp
modefast-serve
gulp
Steps to reproduce
Expected behavior
1.