You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
469 B
23 lines
469 B
function notTranspiledError(name) {
|
|
throw new Error(
|
|
'styled-jsx/css: if you are getting this error it means that your `' +
|
|
name +
|
|
'` tagged template literals were not transpiled.'
|
|
)
|
|
}
|
|
|
|
function css() {
|
|
notTranspiledError('css')
|
|
}
|
|
|
|
css.global = function() {
|
|
notTranspiledError('global')
|
|
}
|
|
|
|
css.resolve = function() {
|
|
notTranspiledError('resolve')
|
|
}
|
|
|
|
module.exports = css
|
|
module.exports.global = css.global
|
|
module.exports.resolve = css.resolve
|
|
|