evestera / json_typegen

Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples
https://typegen.vestera.as
Apache License 2.0
268 stars 26 forks source link

build error in tauri App #40

Closed lanqy closed 6 months ago

lanqy commented 6 months ago

I use json_typegen_wasm in my tauri App, it work fine in dev mode,when build it throw error

Uncaught (in promise) CompileError: WebAssembly.instantiateStreaming(): Refused to compile or instantiate WebAssembly module because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'

企业微信截图_1710845249549