Skip to content
This repository has been archived by the owner on Apr 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #957 from microsoft/webpack_redo
Browse files Browse the repository at this point in the history
webpack bundle improvement
  • Loading branch information
chagong committed Apr 3, 2020
2 parents c6f8571 + 9980e9a commit a13474b
Show file tree
Hide file tree
Showing 21 changed files with 1,143 additions and 1,100 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
out
node_modules
dist
.vscode-test/
*.vsix
.vscode/arduino.json
Expand Down
96 changes: 0 additions & 96 deletions .travis.yml

This file was deleted.

22 changes: 16 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"args": [
"--extensionDevelopmentPath=${workspaceRoot}"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/src/**/*.js"],
"outFiles": [
"${workspaceRoot}/dist/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
Expand All @@ -25,17 +29,23 @@
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/test/**/*.js"],
"outFiles": [
"${workspaceRoot}/out/test/**/*.js"
],
"preLaunchTask": "npm: watch"
},
{
"type": "node",
"request": "launch",
"name": "Unit Tests",
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
"args": ["-i"],
"args": [
"-i"
],
"internalConsoleOptions": "openOnSessionStart",
"outFiles": ["${workspaceRoot}/out/test/**/*.js"]
"outFiles": [
"${workspaceRoot}/out/test/**/*.js"
]
}
]
}
}
56 changes: 42 additions & 14 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,45 @@
.vscode/**
.vscode-test/**
out/test/**
out/**/*.map
out/**/*.ts
src/**
gif/**
hooks/**
test/**
docs/**
.vscode
.vscode-test
# The following lines starting with '!' are the modules that are not webpack bundle friendly,
# so make sure we pack it into extension package.
!node_modules/keytar
!node_modules/getmac
!node_modules/editions
!node_modules/errlop
!node_modules/extract-opts
!node_modules/typechecker
!node_modules/eachr
!node_modules/getos
!node_modules/node-usb-native/native
!node_modules/usb-detection/build/Release/detection.node
!node_modules/usb-detection/*.*
!node_modules/eventemitter2
!node_modules/bindings
!node_modules/file-uri-to-path
!node_modules/@serialport/bindings
!node_modules/@serialport/binding-abstract
!node_modules/@serialport/parser-readline
!node_modules/@serialport/parser-delimiter
!node_modules/debug
!node_modules/ms
node_modules
# The following folders don't need to be in extension package.
__mocks__
src
hooks
test
docs
scripts
devicedevex_dockerfiles
# out folder is the temporary folder for compilation
out
# The following folder/files are for test
coverage
jest.config.js
# Other files don't need to be in extension package
.gitignore
.eslintignore
tsconfig.json
cache/**
node_modules/**
webpack.config.js
gts.cmd
scripts/**
azure-pipelines.yml
**/*.map

0 comments on commit a13474b

Please sign in to comment.