Skip to content

Commit

Permalink
Use webpack for bundling extension for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrch committed May 1, 2019
1 parent 83900be commit d96809e
Show file tree
Hide file tree
Showing 10 changed files with 2,011 additions and 1,544 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules/
builds/
out/
dist/
*/bin/**
*/obj/**
*.vsix
Expand Down
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"eamodio.tsl-problem-matcher"
]
}
17 changes: 2 additions & 15 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"outFiles" : [ "${workspaceRoot}/out/*.js"],
"cwd" : "${workspaceRoot}",

"preLaunchTask": "build"
"preLaunchTask": "npm: watch"
},

{
Expand All @@ -57,20 +57,7 @@

"outFiles": [ "${workspaceRoot}/out/**/*.js" ],

"preLaunchTask": "build"
},

// Use this to debug the gulp build pipeline.
{
"name" : "Debug Gulp Pipeline",
"type" : "node",
"request" : "launch",
"stopOnEntry" : false,
"program" : "${workspaceRoot}/node_modules/gulp/bin/gulp.js",
//"program" : "${workspaceRoot}/makeExtension.js",
"args" : [ "build" ],
"cwd" : "${workspaceRoot}",
"sourceMaps" : false
"preLaunchTask": "npm: watch"
},
],

Expand Down
35 changes: 15 additions & 20 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
{
"version": "2.0.0",
"command": "gulp",
"isShellCommand": true,
"args": [],
"tasks": [
{
"label": "build",
"group": "build",
"problemMatcher": "$tsc"
},
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
"type": "npm",
"script": "watch",
"presentation": {
"echo": true,
"reveal": "never",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"problemMatcher": [
"$ts-webpack"
],
"isBackground": true
}
]
}
9 changes: 7 additions & 2 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ src/**/*
.vscode/**/*
**/*.js.map
**/*.vsix
gulpfile.js
makeExtension.js
tsd.json
.gitignore
.gitignore
.vscode
node_modules
out/
src/
tsconfig.json
webpack.config.js
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

## 0.2.7

- 'stopOnEntry' works properly now.
- 'stopOnEntry' works properly now.

## 0.2.6

Expand Down
131 changes: 0 additions & 131 deletions gulpfile.js

This file was deleted.

Loading

0 comments on commit d96809e

Please sign in to comment.