UNPKG

@compiled/react

Version:

A familiar and performant compile time CSS-in-JS library for React.

44 lines (36 loc) 3.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createStrictSetupError = exports.createSetupError = void 0; const createSetupError = () => { return new Error(` ██████╗ ██████╗ ███╗ ███╗██████╗ ██╗██╗ ███████╗██████╗ ██╔════╝██╔═══██╗████╗ ████║██╔══██╗██║██║ ██╔════╝██╔══██╗ ██║ ██║ ██║██╔████╔██║██████╔╝██║██║ █████╗ ██║ ██║ ██║ ██║ ██║██║╚██╔╝██║██╔═══╝ ██║██║ ██╔══╝ ██║ ██║ ╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ██║███████╗███████╗██████╔╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝╚═════╝ @compiled/react Code was executed when it shouldn't have. This could have happened because: 1. You haven't configured a transformer yet. Visit https://compiledcssinjs.com/docs/installation and follow the instructions. 2. You have duplicate versions of React and hooks are blowing up. You need to de-duplicate your dependencies. Good luck! `); }; exports.createSetupError = createSetupError; const createStrictSetupError = () => { return new Error(` ██████╗ ██████╗ ███╗ ███╗██████╗ ██╗██╗ ███████╗██████╗ ██╔════╝██╔═══██╗████╗ ████║██╔══██╗██║██║ ██╔════╝██╔══██╗ ██║ ██║ ██║██╔████╔██║██████╔╝██║██║ █████╗ ██║ ██║ ██║ ██║ ██║██║╚██╔╝██║██╔═══╝ ██║██║ ██╔══╝ ██║ ██║ ╚██████╗╚██████╔╝██║ ╚═╝ ██║██║ ██║███████╗███████╗██████╔╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚══════╝╚═════╝ @compiled/react Code was executed when it shouldn't have. To resolve make sure to: 1. Set up Compiled. 2. Configure importSources in your Compiled config to point to the module that exports the output of createStrictAPI(). For more information visit https://compiledcssinjs.com/docs/installation and follow the instructions. `); }; exports.createStrictSetupError = createStrictSetupError; //# sourceMappingURL=error.js.map