问题描述
我已经创建了一个SPFX Webpart。然后,我确实运行了gulp bundle --ship
,并且期望在temp-> deploy文件夹中获取控制字符串文件。但是不幸的是我没有得到那些。
以下是我的配置文件:
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json","version": "2.0","bundles": {.
"test-web-part": {.
"components": [.
{.
"entrypoint": "./lib/webparts/test/TestWebPart.js","manifest": "./src/webparts/test/TestWebPart.manifest.json".
}.
].
}.
},"externals": {},"localizedResources": {
"ControlStrings": "node_modules/@pnp/spfx-controls-react/lib/loc/{locale}.js","TestWebPartStrings": "lib/webparts/test/loc/{locale}.js".
}.
}
请对此提供帮助。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)