mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix(cli): set package type for Deno (#14112)
without the type Deno assumes that the package is a ESM so it cannot use `require` we should probably update our minimum Node.js version and use ESM instead, but I want to ship this fix first
This commit is contained in:
committed by
GitHub
parent
b8b866fcc7
commit
c37a298331
6
.changes/fix-cli-deno.md
Normal file
6
.changes/fix-cli-deno.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@tauri-apps/cli": patch:bug
|
||||
"tauri-cli": patch:bug
|
||||
---
|
||||
|
||||
Fix usage with Deno failing with `ReferenceError: require is not defined`.
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user