发布 openmcp-sdk 0.0.3
This commit is contained in:
parent
eafc15bba6
commit
de7d118d7b
@ -124,7 +124,6 @@ export class MessageBridge {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private setupNodejsListener() {
|
private setupNodejsListener() {
|
||||||
console.log('setup');
|
|
||||||
|
|
||||||
const emitter = this.setupSignature;
|
const emitter = this.setupSignature;
|
||||||
if (!emitter.on || !emitter.emit) {
|
if (!emitter.on || !emitter.emit) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "openmcp-sdk",
|
"name": "openmcp-sdk",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"description": "openmcp-sdk",
|
"description": "openmcp-sdk",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
@ -35,10 +35,15 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
optimization: {
|
optimization: {
|
||||||
minimize: false, // 禁用代码压缩
|
minimize: true, // Enable code compression
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new TerserPlugin({
|
new TerserPlugin({
|
||||||
extractComments: false, // 禁用提取许可证文件
|
extractComments: false, // Disable extracting license files
|
||||||
|
terserOptions: {
|
||||||
|
compress: {
|
||||||
|
drop_console: true, // Remove all console.* calls
|
||||||
|
},
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user