Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundle/minify extension code with webpack for quicker load (fixes #83).
- Loading branch information
1 parent
4063c9f
commit f209fef
Showing
4 changed files
with
39 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
.vscode | ||
node_modules | ||
.eslintrc.json | ||
.gitignore | ||
.markdownlint.json | ||
default-config.json | ||
extension.js | ||
generate-config-schema.js | ||
jsconfig.json | ||
webpack.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
"use strict"; | ||
|
||
const config = { | ||
"target": "node", | ||
"entry": "./extension.js", | ||
"output": { | ||
"path": __dirname, | ||
"filename": "bundle.js", | ||
"libraryTarget": "commonjs2" | ||
}, | ||
"externals": { | ||
"vscode": "commonjs vscode" | ||
} | ||
}; | ||
module.exports = config; |