test server d.ts with new bundling options

This commit is contained in:
Oleksandr Honcharov
2024-06-11 00:08:21 +03:00
parent 3958fd458a
commit ff37d353bd
6 changed files with 5436 additions and 7095 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "rage-fw-server",
"version": "0.0.12-alpha.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"types": "dist/src/index.d.ts",
"files": [
"dist/**/*"
],
+1 -1
View File
@@ -1,4 +1,4 @@
import '@ragempcommunity/types-server'
/// <reference types="@ragempcommunity/types-server" />
import type {
RageFW_ICustomServerEvent,
-1
View File
@@ -9,7 +9,6 @@
"composite": false,
"target": "ES2022",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"moduleDetection": "auto",
"module": "CommonJS",
"resolveJsonModule": true,
+1 -1
View File
@@ -5,7 +5,7 @@ export default defineConfig({
outDir: './dist',
format: ['cjs'],
noExternal: ['rage-rpc'],
dts: true,
experimentalDts: true,
splitting: false,
sourcemap: false,
clean: true,