summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xplugins/example-plugin/build.sh3
-rw-r--r--plugins/example-plugin/tsconfig.json2
2 files changed, 1 insertions, 4 deletions
diff --git a/plugins/example-plugin/build.sh b/plugins/example-plugin/build.sh
index cf8463ed..1b36607b 100755
--- a/plugins/example-plugin/build.sh
+++ b/plugins/example-plugin/build.sh
@@ -2,7 +2,4 @@
 #mkdir dist
 rm -rfv *.js *.js.map
 ln -s ../../bundle/node_modules node_modules
-mkdir -p ../../node_modules/@fosscord
-ln -s ../../util ../../node_modules/@fosscord/util
-ln -s ../../api ../../node_modules/@fosscord/api
 tsc -p .
diff --git a/plugins/example-plugin/tsconfig.json b/plugins/example-plugin/tsconfig.json
index 5ff9e607..7efe9434 100644
--- a/plugins/example-plugin/tsconfig.json
+++ b/plugins/example-plugin/tsconfig.json
@@ -71,7 +71,7 @@
 		"emitDecoratorMetadata": true,

 		"experimentalDecorators": true,

 		"resolveJsonModule": true,

-		"baseUrl": "../../",

+		"baseUrl": "../../bundle/dist/",

 		"paths": {

 			"@fosscord/api": ["../../api/src/index"],

 			"@fosscord/gateway": ["../../gateway/src/index"],