-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add preinstall script to install local sample viewer renderer package
- Loading branch information
1 parent
df4a767
commit 4fdfedb
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,15 @@ Debugging | |
* Install the [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) or [Debugger for Firefox](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-firefox-debug) extension for Visual Studio Code | ||
* Open the project directory in Visual Studio Code and select `Debug->Add Configuration->Chrome` or `Debug->Add Configuration->Firefox` so the `.vscode/launch.json` file is created. | ||
* Append `/app_web/dist` to `${workspaceFolder}` in the `launch.json` file | ||
* `Debug->Start Debugging` should now launch a Chrome or Firefox window with the sample viewer and VS Code breakpoints should be hit. | ||
* `Debug->Start Debugging` should now launch a Chrome or Firefox window with the sample viewer and VS Code breakpoints should be hit. | ||
|
||
### Known Issues | ||
npm install give the following warning: | ||
``` | ||
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. | ||
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated | ||
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported | ||
``` | ||
These warnings come from rollup plugins copy and sourcemaps, both are dev dependencies and not used in the final distribution.\ | ||
Sourcemap is used to make debugging of @khronosgroup/gltf-viewer possible.\ | ||
Copy is used to copy all required files to dist. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters