first commit
This commit is contained in:
24
node_modules/lit-html/node/development/is-server.js
generated
vendored
Normal file
24
node_modules/lit-html/node/development/is-server.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright 2022 Google LLC
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
/**
|
||||
* @fileoverview
|
||||
*
|
||||
* This file exports a boolean const whose value will depend on what environment
|
||||
* the module is being imported from.
|
||||
*/
|
||||
const NODE_MODE = true;
|
||||
/**
|
||||
* A boolean that will be `true` in server environments like Node, and `false`
|
||||
* in browser environments. Note that your server environment or toolchain must
|
||||
* support the `"node"` export condition for this to be `true`.
|
||||
*
|
||||
* This can be used when authoring components to change behavior based on
|
||||
* whether or not the component is executing in an SSR context.
|
||||
*/
|
||||
const isServer = NODE_MODE;
|
||||
|
||||
export { isServer };
|
||||
//# sourceMappingURL=is-server.js.map
|
Reference in New Issue
Block a user