我想将我的web应用程序从Web部署到SAP系统,但是我的自定义字体有问题。
OTS parsing error: Size of decompressed WOFF 2.0 is less than compressed size我认为这是因为在SE80中,woff和woff2文件不在MIME文件夹中。 .eot在MIME文件夹中。
到目前为止我尝试过的是:
.Ui5RepositoryBinaryFiles添加到my 我使用这个ui5.yaml脚本来构建:
specVersion: '1.0'
metadata:
name: myApp
type: application
resources:
configuration:
propertiesFileSourceEncoding: UTF-8
builder:
customTasks:
- name: webide-extension-task-updateManifestJson
beforeTask: generateManifestBundle
configuration:
appFolder: webapp
destDir: dist
- name: webide-extension-task-updateNeoApp
afterTask: generateVersionInfo
configuration:
destDir: dist
appFolder: webapp
nameSpace: zApp/myApp
- name: webide-extension-task-lint
afterTask: webide-extension-task-updateNeoApp
configuration:
destDir: dist
appFolder: webapp
nameSpace: zApp/myApp
- name: webide-extension-task-resources
afterTask: webide-extension-task-lint
configuration:
nameSpace: zApp/myApp有什么想法吗?如何将文件作为二进制文件部署到MIME文件夹?
发布于 2021-06-11 09:39:27
没有找到解决办法,但它适用于解决办法。在SE03中解锁传输中的对象。删除并重新创建SE80中的BSP,并在SE38中通过/UI5/UI5_REPOSITORY_LOAD上传应用程序,在webapp文件夹中添加.Ui5RepositoryBinaryFiles文件。
内容:
^.*\.ttf$
^.*\.otf$
^.*\.less$
^.*\.svg$
^.*\.eot$
^.*\.woff$
^.*\.woff2$
^.*\.ico$https://stackoverflow.com/questions/67884596
复制相似问题