commit 79465aa0ec3fbc5c9ef8e5a7a29b20b512af5ef0
parent a40b17e87ed1955bf5107a059a9bdcb56285823b
Author: Milan Pässler <me@pbb.lc>
Date: Wed, 22 May 2019 00:41:03 +0200
parent a40b17e87ed1955bf5107a059a9bdcb56285823b
Author: Milan Pässler <me@pbb.lc>
Date: Wed, 22 May 2019 00:41:03 +0200
cleanup (2)
4 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1,3 +1,4 @@ node_modules -main.js +main.es.js main.min.js +main.es.min.js
diff --git a/rollup.config.js b/rollup.config.js @@ -9,7 +9,7 @@ export default [ file: pkg.module, format: "es", strict: true, - file: "main.js", + file: "main.es.js", sourceMap: "inline", }, ], @@ -26,6 +26,25 @@ export default [ file: pkg.module, format: "es", strict: true, + file: "main.es.min.js", + }, + ], + plugins: [ + resolve(), + terser({ + mangle: { + module: true, + }, + }), + ], + }, + { + input: "src/index.js", + output: [ + { + file: pkg.module, + format: "iife", + strict: true, file: "main.min.js", }, ],
diff --git a/websocket-relay/yarn.lock b/websocket-relay/yarn.lock @@ -0,0 +1,20 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +async-limiter@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" + integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg== + +modbus-tcp@^0.4.13: + version "0.4.13" + resolved "https://registry.yarnpkg.com/modbus-tcp/-/modbus-tcp-0.4.13.tgz#3e0e93af516d78a19f0f62686e64558e6ae6426b" + integrity sha512-TytYObBTQhEMzjfFgGK3iESUoneH9WJRWHoZkt7PBuNnnx2nSOW0tOLC1YeQKNi/Qv7Xv0IjbVhxOoHyXOaV9g== + +ws@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.0.0.tgz#79351cbc3f784b3c20d0821baf4b4ff809ffbf51" + integrity sha512-cknCal4k0EAOrh1SHHPPWWh4qm93g1IuGGGwBjWkXmCG7LsDtL8w9w+YVfaF+KSVwiHQKDIMsSLBVftKf9d1pg== + dependencies: + async-limiter "^1.0.0"