games/next.config.js
Florian Bouillon 26df50c4a8
feat: Upgraded Engine
Signed-off-by: Avior <f.bouillon@aptatio.com>
2023-01-18 16:05:07 +01:00

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
)