css.js 469 B

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