Building for Relative Paths
Closed this issue · 2 comments
lvisei commented
When use relative paths
package.json:
{
"homepage": ".",
}
Use HtmlWebpackTagsPlugin copy cesium files to htmlTag,should be considered "homepage" field in package.json file or relative path is recommended
like "./cesium/Widgets/widgets.css"
Luyonzhang1993 commented
How to set CRA after ejected.
rot1024 commented
Building for Relative Paths
I recognize that it is already supported.
This is a part of index.html
in build result when homepage field in package.json is set .
:
<link href="./cesium/Widgets/widgets.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="./cesium/Cesium.js">
How to set CRA after ejected.
Unfortunately there is no way for now.