Skip to content

Commit

Permalink
style: delete a comma at the end of the last element in the declarati…
Browse files Browse the repository at this point in the history
…on of an array or object
  • Loading branch information
DiegoHBustamante committed Dec 23, 2024
1 parent adda920 commit 226143c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/pos.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class TransbankPOSWebSocket extends EventEmitter {
reconnectionAttempts: 10,
reconnectionDelay: 1000,
reconnectionDelayMax: 5000,
autoConnect: true,
autoConnect: true
}

constructor() {
Expand Down
24 changes: 12 additions & 12 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ module.exports = [
filename: "pos.js",
library: "Transbank",
libraryTarget: "commonjs2",
umdNamedDefine: true,
umdNamedDefine: true
},
module: {
rules: [
],
]
},
devtool: "source-map",
optimization: {
minimize: true,
minimize: true
},
plugins: [
new CopyWebpackPlugin({
patterns: [{ from: "types", to: "." }],
}),
],
patterns: [{ from: "types", to: "." }]
})
]
},
{
mode: "production",
Expand All @@ -33,19 +33,19 @@ module.exports = [
path: path.resolve(__dirname, "dist"),
filename: "pos.esm.js",
library: {
type: "module",
},
type: "module"
}
},
module: {
rules: [
],
]
},
devtool: "source-map",
optimization: {
minimize: true,
minimize: true
},
experiments: {
outputModule: true,
outputModule: true
}
},
}
];

0 comments on commit 226143c

Please sign in to comment.