Repository URL to install this package:
|
Version:
1.2.6 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DISABLE_SPEEDY = exports.IS_BROWSER = exports.CONTEXT_KEY = exports.SC_STREAM_ATTR = exports.SC_ATTR = void 0;
// @flow
// declare var __DEV__: string
const SC_ATTR = 'data-styled-components';
exports.SC_ATTR = SC_ATTR;
const SC_STREAM_ATTR = 'data-styled-streamed';
exports.SC_STREAM_ATTR = SC_STREAM_ATTR;
const CONTEXT_KEY = '__styled-components-stylesheet__';
exports.CONTEXT_KEY = CONTEXT_KEY;
const IS_BROWSER = typeof window === 'object';
exports.IS_BROWSER = IS_BROWSER;
const DISABLE_SPEEDY = typeof __DEV__ === 'boolean' && __DEV__ || process.env.NODE_ENV !== 'production';
exports.DISABLE_SPEEDY = DISABLE_SPEEDY;