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
|
|
|
|
require.extensions['.css'] = (file) => {}
|
2017-05-27 14:22:13 +02:00
|
|
|
}
|
|
|
|
|
2018-11-02 19:50:30 +01:00
|
|
|
module.exports = withCSS()
|