Remove unsed dependencies and add new css editor

This commit is contained in:
ajnart
2023-02-10 12:44:48 +09:00
parent 84db1aeaf7
commit 793ab4db7a
3 changed files with 178 additions and 1278 deletions

View File

@@ -1,19 +1,14 @@
const { i18n } = require('./next-i18next.config');
const removeImports = require('next-remove-imports')();
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});
module.exports = withBundleAnalyzer(
removeImports({
experimental: { esmExternals: true },
images: {
domains: ['cdn.jsdelivr.net'],
},
reactStrictMode: true,
output: 'standalone',
i18n,
})
);
module.exports = withBundleAnalyzer({
images: {
domains: ['cdn.jsdelivr.net'],
},
reactStrictMode: true,
output: 'standalone',
i18n,
});