2f325e0f69
* Add example with astroturf (Zero runtime CSS-in-JS)
13 lines
230 B
JavaScript
13 lines
230 B
JavaScript
const withCSS = require('@zeit/next-css')
|
|
|
|
module.exports = withCSS({
|
|
cssModules: true,
|
|
webpack: config => {
|
|
config.module.rules.push({
|
|
test: /\.js$/,
|
|
use: ['astroturf/loader']
|
|
})
|
|
|
|
return config
|
|
}
|
|
})
|