@aws-amplify/core
Version:
Core category of aws-amplify
1 lines • 752 B
Source Map (JSON)
{"version":3,"file":"Vue.mjs","sources":["../../../../src/Platform/detection/Vue.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { globalExists, keyPrefixMatch, windowExists } from './helpers';\n// Tested with vue 3.3.2\nexport function vueWebDetect() {\n return windowExists() && keyPrefixMatch(window, '__VUE');\n}\nexport function vueSSRDetect() {\n return globalExists() && keyPrefixMatch(global, '__VUE');\n}\n"],"names":[],"mappings":";;AAAA;AACA;AAEA;AACO,SAAS,YAAY,GAAG;AAC/B,IAAI,OAAO,YAAY,EAAE,IAAI,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC7D,CAAC;AACM,SAAS,YAAY,GAAG;AAC/B,IAAI,OAAO,YAAY,EAAE,IAAI,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC7D;;;;"}