mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
This modifies the webpack config instead of renaming the .wasm file to workaround default webpack behavior regarding import .wasm files.
17 lines
268 B
TypeScript
17 lines
268 B
TypeScript
/// <reference types="react-scripts" />
|
|
|
|
declare module '*.json' {
|
|
const src: unknown;
|
|
export default src;
|
|
}
|
|
|
|
declare module '*.wasm' {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module '*.zip' {
|
|
const src: string;
|
|
export default src;
|
|
}
|