2018-11-02 19:50:30 +01:00
|
|
|
const withCSS = require('@zeit/next-css')
|
2017-05-27 14:22:13 +02:00
|
|
|
|
2018-11-02 19:50:30 +01:00
|
|
|
// fix: prevents error when .css files are required by node
|
|
|
|
if (typeof require !== 'undefined') {
|
|
|
|
// eslint-disable-next-line
|
2018-12-17 17:34:32 +01:00
|
|
|
require.extensions['.css'] = file => {}
|
2017-05-27 14:22:13 +02:00
|
|
|
}
|
|
|
|
|
2018-11-02 19:50:30 +01:00
|
|
|
module.exports = withCSS()
|