fix: disable unsafe-math optimizations

This commit is contained in:
Amin Yahyaabadi 2024-09-20 16:24:50 -07:00
parent 32a534716d
commit 77859ef9f3
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
23 changed files with 30 additions and 23 deletions

View File

@ -1,2 +1,5 @@
import { buildTerserOptions } from "terser-config-atomic/dist/builder.js"
export default buildTerserOptions(process.env.NODE_ENV, undefined, true)
const config = buildTerserOptions(process.env.NODE_ENV, undefined, true)
config.compress.unsafe_math = false
export default config

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -138,6 +138,7 @@
"turbo": "2.1.2",
"typescript": "^5.6.2",
"ubuntu-version": "^2.0.0",
"unicorn-magic": "^0.3.0",
"untildify-user": "workspace:*",
"util.types": "^0.0.2",
"vite": "^5.4.6",

View File

@ -265,6 +265,9 @@ importers:
ubuntu-version:
specifier: ^2.0.0
version: 2.0.0
unicorn-magic:
specifier: ^0.3.0
version: 0.3.0
untildify-user:
specifier: workspace:*
version: link:packages/untildify-user