fix built version of site
- Ngôn ngữ chính
- TypeScript
- Star
- 3
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Getting
```
Uncaught ReferenceError: $670d1da690979442$exports is not defined at initializers.ts:35:43
```
when [`import`ing from the NPM package](https://www.tensorflow.org/js/tutorials/setup#installation_from_npm). Was previously solved in e0e3bb0c28510be04dc3db2729ced8dbc7dff3e5 by [loading Tensorflow from a CDN](https://www.tensorflow.org/js/tutorials/setup#usage_via_script_tag), but that:
- Requires a network connection
- Loses type definitions
- Doing version management outside of NPM
```js
import * as tf from "@tensorflow/tfjs/dist/tf";
```
works, but loses the type definitions. Can test locally with:
```sh
npm run clean
npm run build
cd dist
python3 -m http.server
```
and opening http://localhost:8000.
- [ ] [Turn deploy previews back on](https://app.netlify.com/sites/afeld-pose/settings/deploys#deploy-notifications)
- [ ] Re-add https://afeld-pose.netlify.app/ to repository description
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.