fix(TypeScript): improve tsconfig.json for ES Module use
This commit is contained in:
		@@ -3,6 +3,6 @@
 | 
			
		||||
 */
 | 
			
		||||
export const commitinfo = {
 | 
			
		||||
  name: '@push.rocks/smartdata',
 | 
			
		||||
  version: '5.0.41',
 | 
			
		||||
  version: '5.0.42',
 | 
			
		||||
  description: 'do more with data'
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,12 @@
 | 
			
		||||
    "experimentalDecorators": true,
 | 
			
		||||
    "useDefineForClassFields": false,
 | 
			
		||||
    "target": "ES2022",
 | 
			
		||||
    "module": "ES2022",
 | 
			
		||||
    "moduleResolution": "nodenext"
 | 
			
		||||
  }
 | 
			
		||||
    "module": "NodeNext",
 | 
			
		||||
    "moduleResolution": "NodeNext",
 | 
			
		||||
    "esModuleInterop": true,
 | 
			
		||||
    "verbatimModuleSyntax": true
 | 
			
		||||
  },
 | 
			
		||||
  "exclude": [
 | 
			
		||||
    "dist_*/**/*.d.ts"
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user