fix: rsdk to warp in web bundle builds

This commit is contained in:
asiaziola
2022-06-17 09:51:07 +02:00
parent b0b5b18f78
commit a411f4ad3c

View File

@@ -32,7 +32,7 @@ const runBuild = async () => {
platform: 'browser',
target: ['es2020', 'chrome58', 'firefox57', 'safari11'],
format: 'iife',
globalName: 'rsdk'
globalName: 'warp'
}).catch((e) => {
console.log(e);
process.exit(1);
@@ -46,7 +46,7 @@ const runBuild = async () => {
platform: 'browser',
target: ['es2020', 'chrome58', 'firefox57', 'safari11'],
format: 'esm',
globalName: 'rsdk'
globalName: 'warp'
}).catch((e) => {
console.log(e);
process.exit(1);
@@ -60,12 +60,11 @@ const runBuild = async () => {
platform: 'browser',
target: ['es2020', 'chrome58', 'firefox57', 'safari11'],
format: 'esm',
globalName: 'rsdk'
globalName: 'warp'
}).catch((e) => {
console.log(e);
process.exit(1);
});
};
runBuild();