mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
183866a96d
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.
5 lines
278 B
JavaScript
5 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>
|