test server d.ts with new bundling options
This commit is contained in:
+1
-1
@@ -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
@@ -1,4 +1,4 @@
|
||||
import '@ragempcommunity/types-server'
|
||||
/// <reference types="@ragempcommunity/types-server" />
|
||||
|
||||
import type {
|
||||
RageFW_ICustomServerEvent,
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"composite": false,
|
||||
"target": "ES2022",
|
||||
"experimentalDecorators": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"moduleDetection": "auto",
|
||||
"module": "CommonJS",
|
||||
"resolveJsonModule": true,
|
||||
|
||||
@@ -5,7 +5,7 @@ export default defineConfig({
|
||||
outDir: './dist',
|
||||
format: ['cjs'],
|
||||
noExternal: ['rage-rpc'],
|
||||
dts: true,
|
||||
experimentalDts: true,
|
||||
splitting: false,
|
||||
sourcemap: false,
|
||||
clean: true,
|
||||
|
||||
Reference in New Issue
Block a user