0.0.4-a • Published 6 months ago
cave-test v0.0.4-a
test-library
Edit next.config.js
in your next project file:
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
compiler: {
styledComponents: true,
},
webpack: (config) => ({
...config,
resolve: {
...config.resolve,
alias: {
...config.resolve.alias,
'styled-components': require.resolve('styled-components')
}
}
})
}
module.exports = nextConfig