Hi Dan, i have project React + Typescript + react-app-rewired.
This project has external folder SDK which include sdk.js, sdk.wasm etc. (sdk.js is already optimized and minimized)
In component i can use
import {Foo} from '../public/SDK/sdk.js';
But react or react-app-rewired including sdk.js file into 3.[hash].chunk.js. I think webpack tried to optimize the already optimized code in consequence of which project not building (error was n.setVolume is not a function)
Hi Dan, i have project React + Typescript + react-app-rewired.
This project has external folder SDK which include sdk.js, sdk.wasm etc. (sdk.js is already optimized and minimized)
In component i can use
But react or react-app-rewired including sdk.js file into
3.[hash].chunk.js
. I think webpack tried to optimize the already optimized code in consequence of which project not building (error wasn.setVolume is not a function
)tsconfig.json
config-overrides.js