Skip to content

External extension usage #169

Closed Answered by CGNonofr
adnanjpg asked this question in Q&A
Aug 22, 2023 · 1 comments · 11 replies
Discussion options

You must be logged in to vote

Ok for it to work, you'll need 2 things:

  • waiting for #170 to be released
  • helping the vsix plugin by providing additionnal used files:
import vsixPlugin from 'vscode/rollup-vsix-plugin'

export default {
  input: 'zardoy.ts-essential-plugins-0.0.68.vsix',
  output: [{
    format: 'esm',
    dir: 'ts-essential-plugins',
    entryFileNames: 'index.js',
    assetFileNames: chunkInfo => {
      return `assets/[name][extname]`
    },
  }],
  external: ['vscode'],
  plugins: [
    vsixPlugin({
      async getAdditionalResources () {
        return [{
          path: 'node_modules/typescript-essential-plugins/package.json'
        }, {
          path: 'node_modules/typescript-essential-plugins/…

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@CGNonofr
Comment options

@adnanjpg
Comment options

@CGNonofr
Comment options

@CGNonofr
Comment options

Answer selected by adnanjpg
@adnanjpg
Comment options

@CGNonofr
Comment options

@adnanjpg
Comment options

@CGNonofr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants