Skip to content

Commit fea6cc5

Browse files
committed
fix: fix the default parameter issues
1 parent 9c64f2f commit fea6cc5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": "eslint-config-atomic",
3-
"ignorePatterns": ["dist/", "node_modules/"]
3+
"ignorePatterns": ["dist/", "node_modules/", "coverage/"]
44
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"license": "MIT",
1818
"scripts": {
1919
"build": "tsc",
20-
"prepare": "npm run build",
20+
"prepublishOnly": "npm run build",
2121
"format": "prettier --write .",
2222
"test.format": "prettier . --check",
2323
"lint": "eslint . --fix",

src/get-terserrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export function getTerserOptions(NODE_ENV: string = "production", BABEL_ENV?: string) {
1+
export function getTerserOptions(NODE_ENV: string = "production", BABEL_ENV: string | undefined = undefined) {
22
const isDev = NODE_ENV === "development"
33
const isTest = NODE_ENV === "test"
44
const isReadable = isDev || isTest

0 commit comments

Comments
 (0)