UNPKG

469 BJavaScriptView Raw
1function notTranspiledError(name) {
2 throw new Error(
3 'styled-jsx/css: if you are getting this error it means that your `' +
4 name +
5 '` tagged template literals were not transpiled.'
6 )
7}
8
9function css() {
10 notTranspiledError('css')
11}
12
13css.global = function() {
14 notTranspiledError('global')
15}
16
17css.resolve = function() {
18 notTranspiledError('resolve')
19}
20
21module.exports = css
22module.exports.global = css.global
23module.exports.resolve = css.resolve