зеркало из
1
0
Форкнуть 0
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:
Hawk Ticehurst 2021-03-30 09:27:59 -07:00 коммит произвёл GitHub
Родитель 4512aab3f6
Коммит 7c67682afe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 4 добавлений и 4 удалений

2
package-lock.json сгенерированный
Просмотреть файл

@ -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()],
}, },