diff --git a/.changes/fix-cli-deno.md b/.changes/fix-cli-deno.md new file mode 100644 index 000000000..c9a49a50b --- /dev/null +++ b/.changes/fix-cli-deno.md @@ -0,0 +1,6 @@ +--- +"@tauri-apps/cli": patch:bug +"tauri-cli": patch:bug +--- + +Fix usage with Deno failing with `ReferenceError: require is not defined`. diff --git a/packages/cli/package.json b/packages/cli/package.json index 7e83e8faa..aa2e9f264 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -2,6 +2,7 @@ "name": "@tauri-apps/cli", "version": "2.8.3", "description": "Command line interface for building Tauri apps", + "type": "commonjs", "funding": { "type": "opencollective", "url": "https://opencollective.com/tauri"