1 | function 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 |
|
9 | function css() {
|
10 | notTranspiledError('css')
|
11 | }
|
12 |
|
13 | css.global = function() {
|
14 | notTranspiledError('global')
|
15 | }
|
16 |
|
17 | css.resolve = function() {
|
18 | notTranspiledError('resolve')
|
19 | }
|
20 |
|
21 | module.exports = css
|
22 | module.exports.global = css.global
|
23 | module.exports.resolve = css.resolve
|