add version comment to min.js, bump to 0.1.1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-02-06 13:26:15 +01:00
parent 2e605c071e
commit d65b6f66dc
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
4 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/**
* Name: js-status-chat-name
* Version: 0.1.0
* Version: 0.1.1
* Author: Jakub Sokołowski <jakub@status.im>
* Source: https://github.com/status-im/js-status-chat-name
* License: MIT

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "js-status-chat-name",
"version": "0.1.0",
"version": "0.1.1",
"description": "JS Library for generating Status chat names from keys.",
"main": "index.js",
"repository": "https://github.com/status-im/js-status-chat-name",

View File

@ -24,10 +24,12 @@ export default {
},
{
name: name,
banner: banner,
banner: `/* Meta: ${pkg.name} ${pkg.version} */`,
file: 'dist/status-chat-name.min.js',
format: 'iife',
plugins: [terser()]
plugins: [
terser({output: {comments: /Meta:/}})
]
}
],
}