Skip to content

Commit 1fbc5c3

Browse files
committed
🔨 --no-const-enum
1 parent c28558a commit 1fbc5c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎crates/napi/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface FindConfig {
3939
*/
4040
languageGlobs?: Array<string>
4141
}
42-
export const enum Lang {
42+
export enum Lang {
4343
Html = 'Html',
4444
JavaScript = 'JavaScript',
4545
Tsx = 'Tsx',

‎crates/napi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
},
4242
"scripts": {
4343
"artifacts": "napi artifacts",
44-
"build": "napi build --platform --release",
45-
"build:debug": "napi build --platform",
44+
"build": "napi build --no-const-enum --platform --release",
45+
"build:debug": "napi build --no-const-enum --platform",
4646
"prepublishOnly": "napi prepublish -t npm --skip-gh-release",
4747
"test": "ava",
4848
"version": "napi version"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy