Skip to content

Commit

Permalink
Update Rollup Config (#55)
Browse files Browse the repository at this point in the history
Update the Rollup config file so that the output project bundles have shorter names.

The name changes include:

- `vscode-webview-toolkit.js` --> `toolkit.js`
- `vscode-webview-toolkit.min.js` --> `toolkit.min.js`
  • Loading branch information
hawkticehurst authored Mar 30, 2021
1 parent 4512aab commit 7c67682
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-webview-toolkit",
"version": "0.0.26",
"version": "0.0.27",
"description": "A component library for creating webview-based extensions in Visual Studio Code.",
"homepage": "https://github.com/microsoft/vscode-webview-toolkit#readme",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ export default [
input: 'src/index-rollup.ts',
output: [
{
file: 'dist/vscode-webview-toolkit.js',
file: 'dist/toolkit.js',
format: 'esm',
},
{
file: 'dist/vscode-webview-toolkit.min.js',
file: 'dist/toolkit.min.js',
format: 'esm',
plugins: [terser()],
},
Expand Down

0 comments on commit 7c67682

Please sign in to comment.