@fictjs/babel-preset 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -61,7 +61,7 @@ module.exports = {
61
61
  presets: [['@fictjs/babel-preset', { strictGuarantee: true }]],
62
62
  }
63
63
 
64
- // Migration / benchmark profile
64
+ // Non-production migration / benchmark profile
65
65
  module.exports = {
66
66
  presets: [
67
67
  ['@fictjs/babel-preset', { strictGuarantee: false, emitModuleMetadata: false, dev: false }],
@@ -72,5 +72,6 @@ module.exports = {
72
72
  Key defaults:
73
73
 
74
74
  - compiler `strictGuarantee`: `true`
75
+ - production compilation (`NODE_ENV=production`) force-enables compiler `strictGuarantee`
75
76
  - compiler `emitModuleMetadata`: `'auto'`
76
77
  - preset `typescript`: `true`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fictjs/babel-preset",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "Babel preset for Fict - includes TypeScript, JSX, and Fict compiler",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@babel/plugin-syntax-jsx": "^7.28.6",
28
28
  "@babel/preset-typescript": "^7.26.0",
29
- "@fictjs/compiler": "0.19.0"
29
+ "@fictjs/compiler": "0.20.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@babel/core": "^7.29.0",