mirror of
https://github.com/Aviortheking/games.git
synced 2025-04-22 10:52:09 +00:00
24 lines
551 B
JavaScript
24 lines
551 B
JavaScript
// Add support for Stylus/LESS
|
|
const preCSS = require('next-pre-css')
|
|
// Use Compose plugin for easier maintenance
|
|
const withPlugins = require('next-compose-plugins')
|
|
|
|
const {PHASE_DEVELOPMENT_SERVER} = require('next/constants')
|
|
const nextConfig = require('./dzeio.next.config')
|
|
|
|
module.exports = withPlugins([
|
|
[preCSS, {
|
|
cssModules: true,
|
|
cssLoaderOptions: {
|
|
localIdentName: "[hash:base64:6]",
|
|
},
|
|
[PHASE_DEVELOPMENT_SERVER]: {
|
|
cssLoaderOptions: {
|
|
localIdentName: "[path][name]__[local]"
|
|
}
|
|
}
|
|
}]
|
|
],
|
|
//nextConfig
|
|
)
|