summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorIan P Bradley <ian.bradley@studiocrabapple.com>2023-03-26 18:06:48 -0700
committerIan P Bradley <ian.bradley@studiocrabapple.com>2024-01-06 02:47:52 -0800
commit8a563a04c2bd614a6190a44afa1b19e45bfd4f7b (patch)
treeadb700cb2532b8ea449d886508bbb758604b14c3 /package.json
parenta56989a95481e00c6fcb6e85dad15225ceac22b2 (diff)
downloadPerlNavigator-8a563a04c2bd614a6190a44afa1b19e45bfd4f7b.zip
Compile main extension with webpack and add .vscodeignore
This cuts the .vsix extension filesize down by over half and markedly increases performance on my setup
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json
index 13e5761..26f2502 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
"activationEvents": [
"onLanguage:perl"
],
- "main": "./client/out/extension",
+ "main": "./client/dist/clientMain",
"browser": "./client/dist/browserClientMain",
"contributes": {
"configuration": {
@@ -341,7 +341,7 @@
]
},
"scripts": {
- "vscode:prepublish": "npm run compile",
+ "vscode:prepublish": "npm run package",
"compile": "tsc -b",
"watch": "tsc -b -w",
"web-compile": "export NODE_OPTIONS=--openssl-legacy-provider; webpack",
@@ -376,9 +376,9 @@
"ts-loader": "^9.3.0",
"path-browserify": "^1.0.1"
},
- "bin": "server/out/server.js",
+ "bin": "server/dist/serverMain.js",
"pkg": {
- "scripts": "server/out/server.js",
+ "scripts": "server/dist/serverMain.js",
"assets": "server/src/**/*",
"targets": [
"node16-linux-x64",