appbaseio/reactivesearch

View on GitHub
packages/web/examples/ssr/next.config.js

Summary

Maintainability
A
0 mins
Test Coverage
const withCss = require('@zeit/next-css');

// fix: prevents error when .css files are required by node
if (typeof require !== 'undefined') {
    require.extensions['.css'] = () => null;
}

module.exports = withCss();