Created
January 9, 2020 17:43
-
-
Save GantMan/cfce597e223e6361d9bdc9a75c8deaff to your computer and use it in GitHub Desktop.
Copying the wasm file to public
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
"scripts": { | |
"wasm": "cp node_modules/@tensorflow/tfjs-backend-wasm/dist/tfjs-backend-wasm.wasm ./public", | |
"winwasm": "PowerShell -Command cp node_modules/@tensorflow/tfjs-backend-wasm/dist/tfjs-backend-wasm.wasm ./public -Force", | |
"start": "yarn wasm && react-scripts start", | |
"build": "yarn wasm && react-scripts build", | |
"test": "react-scripts test", | |
"eject": "react-scripts eject" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment