Depends on https://github.com/zeit/next-plugins/pull/228 Failing tests are expected as `@zeit/next-css` has to be updated/released first. This implements rendering of `.css` chunks. Effectively removing the custom document requirement when adding next-css/sass/less/stylus.
4 lines
278 B
JavaScript
4 lines
278 B
JavaScript
import css from './hello-webpack-css.css'
|
|
import sass from './hello-webpack-sass.scss'
|
|
import framework from 'css-framework/framework.css'
|
|
export default () => <div className={`hello-world ${css.helloWorld} ${sass.helloWorldSass} ${framework.frameworkClass}`}>Hello World</div>
|