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`
This commit is contained in:
Родитель
4512aab3f6
Коммит
7c67682afe
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "vscode-webview-toolkit",
|
"name": "vscode-webview-toolkit",
|
||||||
"version": "0.0.26",
|
"version": "0.0.27",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "vscode-webview-toolkit",
|
"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.",
|
"description": "A component library for creating webview-based extensions in Visual Studio Code.",
|
||||||
"homepage": "https://github.com/microsoft/vscode-webview-toolkit#readme",
|
"homepage": "https://github.com/microsoft/vscode-webview-toolkit#readme",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -54,11 +54,11 @@ export default [
|
||||||
input: 'src/index-rollup.ts',
|
input: 'src/index-rollup.ts',
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
file: 'dist/vscode-webview-toolkit.js',
|
file: 'dist/toolkit.js',
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
file: 'dist/vscode-webview-toolkit.min.js',
|
file: 'dist/toolkit.min.js',
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
plugins: [terser()],
|
plugins: [terser()],
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче