fix: rsdk to warp in web bundle builds
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user