Skip to content

Commit

Permalink
Exclude keytar from Webpacking (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi authored Aug 15, 2021
1 parent 6ec42c9 commit 1d320ac
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 47 deletions.
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
out/test/**
src/**
node_modules/**
!node_modules/keytar
.gitignore
**/tsconfig.json
**/tslint.json
Expand Down
41 changes: 0 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@
"faker": "^5.5.3",
"glob": "^7.1.7",
"mocha": "^9.0.3",
"node-loader": "^2.0.0",
"prettier": "^1.19.1",
"tmp": "^0.2.1",
"ts-loader": "^9.2.5",
Expand Down
7 changes: 2 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const config = {
},
devtool: 'source-map',
externals: {
vscode: 'commonjs vscode'
vscode: 'commonjs vscode',
keytar: 'keytar'
},
resolve: {
extensions: ['.ts', '.js']
Expand All @@ -28,10 +29,6 @@ const config = {
test: /\.ts$/,
exclude: /node_modules/,
loader: 'ts-loader'
},
{
test: /\.node$/,
loader: 'node-loader'
}
]
},
Expand Down

0 comments on commit 1d320ac

Please sign in to comment.