From 7c67682afe05f3a37bd15fc14a31b02fdd1d34bc Mon Sep 17 00:00:00 2001 From: Hawk Ticehurst <39639992+hawkticehurst@users.noreply.github.com> Date: Tue, 30 Mar 2021 09:27:59 -0700 Subject: [PATCH] Update Rollup Config (#55) 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` --- package-lock.json | 2 +- package.json | 2 +- rollup.config.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 122397a9..42b62b6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-webview-toolkit", - "version": "0.0.26", + "version": "0.0.27", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 454156d4..9eb0e3ac 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/rollup.config.js b/rollup.config.js index eb0aee8c..bcab1c3d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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()], },