@compiled/react
Version:
A familiar and performant compile time CSS-in-JS library for React.
39 lines (31 loc) • 2.85 kB
JavaScript
export 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!
`);
};
export 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.
`);
};
//# sourceMappingURL=error.js.map