mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
print a deprecated message for next/css (#421)
This commit is contained in:
parent
37a9c661ff
commit
1e70324a41
|
@ -1,5 +1,9 @@
|
|||
const css = require('glamor')
|
||||
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
console.error('Warning: \'next/css\' is deprecated. Please use styled-jsx syntax instead.')
|
||||
}
|
||||
|
||||
/**
|
||||
* Expose style as default and the whole object as properties
|
||||
* so it can be used as follows:
|
||||
|
|
Loading…
Reference in a new issue