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 122397a..42b62b6 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 454156d..9eb0e3a 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 eb0aee8..bcab1c3 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()], },