683 B23 lines
Blame
1/**
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8import type {Platform} from '../platform';
9
10import {makeBrowserLikePlatformImpl} from './browserPlatformImpl';
11
12// important: this file should not try to import other code from 'isl',
13// since it will end up getting duplicated when bundling.
14
15const chromelikeAppPlatform: Platform = {
16 ...makeBrowserLikePlatformImpl('chromelike_app'),
17};
18
19window.islPlatform = chromelikeAppPlatform;
20
21// Load the actual app entry, which must be done after the platform has been set up.
22import('../index');
23