mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
a6af11c6ae
* Improved with-ant-design example * standardjs fix maybe
9 lines
215 B
JavaScript
9 lines
215 B
JavaScript
const withCss = require('@zeit/next-css')
|
|
|
|
// fix: prevents error when .css files are required by node
|
|
if (typeof require !== 'undefined') {
|
|
require.extensions['.css'] = (file) => {}
|
|
}
|
|
|
|
module.exports = withCss()
|