styled-jsx-postcss icon indicating copy to clipboard operation
styled-jsx-postcss copied to clipboard

Cannot use @import?

Open ldw1216 opened this issue 6 years ago • 0 comments

use postcss-import plug code:

.babelrc { "presets": [ [ "next/babel", { "styled-jsx": { "plugins": [ "styled-jsx-plugin-postcss" ] } } ] ] }

package.json "postcss": { "plugins": { "postcss-cssnext": { "browsers": [ "last 2 versions", "> 5%" ] }, "postcss-nested": {}, "postcss-import": {} } }

ldw1216 avatar Jul 04 '18 02:07 ldw1216