diff --git a/package.json b/package.json index e195934..ddae7fd 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", - "package": "pkg . --compress GZip --targets node14-linux-x64,node14-macos-x64 --out-path bin", + "package": "pkg . --no-bytecode --compress GZip --targets node14-linux-x64,node14-macos-x64 --out-path bin", "format": "prettier --loglevel warn --write \"**/*.{ts,js,json}\"", "format:check": "prettier --loglevel warn --check \"**/*.{ts,js,json}\"" }, diff --git a/tsconfig.json b/tsconfig.json index 7fa70e4..c8a71ff 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ /* Basic Options */ // "incremental": true, /* Enable incremental compilation */ - "target": "ES2018" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, + "target": "ES2020" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, // "lib": [], /* Specify library files to be included in the compilation. */ // "allowJs": true, /* Allow javascript files to be compiled. */