diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-13 00:03:27 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-13 21:57:51 +0200 |
commit | 5abd6bb7e010f0ed05b086d45b06bbed76bc5f57 (patch) | |
tree | ff72467f895f1eb796fa38fff128dba3bf484c4a | |
parent | Add test plugin (diff) | |
download | server-5abd6bb7e010f0ed05b086d45b06bbed76bc5f57.tar.xz |
try to update build script
-rwxr-xr-x | plugins/example-plugin/build.sh | 3 | ||||
-rw-r--r-- | plugins/example-plugin/tsconfig.json | 2 |
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"], |