diff --git a/packages/babel-plugin-minify-constant-folding/src/index.js b/packages/babel-plugin-minify-constant-folding/src/index.js index 4c7f3acf4..a9d1c19e3 100644 --- a/packages/babel-plugin-minify-constant-folding/src/index.js +++ b/packages/babel-plugin-minify-constant-folding/src/index.js @@ -152,7 +152,7 @@ module.exports = babel => { const res = evaluate(path, { tdz }); if (res.confident) { // Avoid fractions because they can be longer than the original expression. - // There is also issues with number percision? + // There is also issues with number precision? if (typeof res.value === "number" && !Number.isInteger(res.value)) { return; }