Skip to content

Commit

Permalink
Merge pull request #3476 from quantified-uncertainty/vscode-fix
Browse files Browse the repository at this point in the history
Fix VS Code extension
  • Loading branch information
OAGr authored Jan 4, 2025
2 parents d30fe24 + 0ba2f09 commit a399d62
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/vscode-ext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
"Programming Languages",
"Visualization"
],
"activationEvents": [
"onLanguage:squiggle",
"onCommand:squiggle.preview"
],
"main": "./dist/client/extension.js",
"contributes": {
"languages": [
Expand Down Expand Up @@ -126,10 +122,10 @@
"build:grammar": "rm -rf syntaxes && mkdir -p syntaxes && cp ../textmate-grammar/dist/*.json ./syntaxes/",
"build:media": "mkdir -p dist/media && cp ../../apps/website/public/img/squiggle-logo.png dist/media/icon.png && tailwindcss -i ./src/webview/main.css -o dist/media/components.css",
"build:bundle": "esbuild ./src/client/extension.ts ./src/server/server.ts --format=cjs --platform=node --sourcemap --minify --bundle --external:vscode '--define:process.env.NODE_ENV=\"production\"' --outdir=./dist",
"build:webview": "esbuild ./src/webview/index.tsx --format=esm --platform=browser --sourcemap --minify --bundle '--define:process.env.NODE_ENV=\"production\"' --outdir=./dist/webview",
"build:webview": "esbuild ./src/webview/index.tsx --format=cjs --platform=browser --sourcemap --minify --bundle '--define:process.env.NODE_ENV=\"production\"' --outdir=./dist/webview",
"build:ts": "tsc -b",
"build": "pnpm run build:media && pnpm run build:grammar && pnpm run build:bundle && pnpm run build:webview && pnpm run build:ts",
"watch": "pnpm run compile:bundle --watch",
"watch": "pnpm run build:bundle --watch",
"pretest": "pnpm run build && pnpm run lint",
"lint": "pnpm lint:prettier && pnpm eslint",
"lint:prettier": "prettier --check .",
Expand Down

0 comments on commit a399d62

Please sign in to comment.