gleam-lang / vscode-gleam

📟 Gleam support for VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add vsce script

gofenix opened this issue · comments

commented

I want build it to vsix so that I can install it from local.

I think it's a good idea to add a npm script for packaging like this:

  "scripts": {
    "vscode:prepublish": "webpack --mode production",
    "compile": "webpack --mode development",
    "compile-watch": "webpack --mode development --watch",
    "test-compile": "tsc -p ./",
    "vscode:package": "vsce package"
  },

"devDependencies": {
    // ...other 
    "vsce": "^2.6.7",
    // ...other
  },

Thank you