Skip to content

Commit

Permalink
fix: make sure it works on the web 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Dec 7, 2022
1 parent 84c93a5 commit cf7b8db
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TL;DR:

> Experimental VS Code extension for moving statements using document outline (aka [breadcrumbs](https://code.visualstudio.com/docs/editor/editingevolved#_breadcrumbs)) knowledge. That's why it is language-independent (if your language has outline support), but it can't be 100% accurate in all cases.
This way mainly created (and works well) for JSON and HTML (Vue and other declarative languages). And for literal properties in any language.
This way mainly created as replacement for *Move Line* commands and works well for JSON, HTML/Vue and other declarative languages. And for literal properties in any language.

Also in JavaScript/TypeScript:

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
],
"scripts": {
"start": "vscode-framework start",
"build": "vscode-framework build",
"lint": "eslint src/**"
},
"dependencies": {
Expand Down
12 changes: 12 additions & 0 deletions vscode-framework.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ const config = {
return {}
},
],
consoleStatements: false,
target: {
desktop: true,
web: true,
},
esbuild: {
production: {
defineEnv: {
EXTENSION_BOOTSTRAP_CONFIG: 'null',
},
},
},
}

module.exports = config

0 comments on commit cf7b8db

Please sign in to comment.