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:
parent
2e605c071e
commit
d65b6f66dc
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name: js-status-chat-name
|
* Name: js-status-chat-name
|
||||||
* Version: 0.1.0
|
* Version: 0.1.1
|
||||||
* Author: Jakub Sokołowski <jakub@status.im>
|
* Author: Jakub Sokołowski <jakub@status.im>
|
||||||
* Source: https://github.com/status-im/js-status-chat-name
|
* Source: https://github.com/status-im/js-status-chat-name
|
||||||
* License: MIT
|
* License: MIT
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "js-status-chat-name",
|
"name": "js-status-chat-name",
|
||||||
"version": "0.1.0",
|
"version": "0.1.1",
|
||||||
"description": "JS Library for generating Status chat names from keys.",
|
"description": "JS Library for generating Status chat names from keys.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "https://github.com/status-im/js-status-chat-name",
|
"repository": "https://github.com/status-im/js-status-chat-name",
|
||||||
|
|
|
@ -24,10 +24,12 @@ export default {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: name,
|
name: name,
|
||||||
banner: banner,
|
banner: `/* Meta: ${pkg.name} ${pkg.version} */`,
|
||||||
file: 'dist/status-chat-name.min.js',
|
file: 'dist/status-chat-name.min.js',
|
||||||
format: 'iife',
|
format: 'iife',
|
||||||
plugins: [terser()]
|
plugins: [
|
||||||
|
terser({output: {comments: /Meta:/}})
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue