setup-cpp/.terserrc.mjs

6 lines
206 B
JavaScript

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