1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-30 22:46:39 -04:00

clean up styles

This commit is contained in:
2022-01-02 07:56:45 -05:00
parent ddb48ef2ab
commit 5c1d1dbc58
7 changed files with 59 additions and 57 deletions

View File

@ -2,6 +2,7 @@
* @type {import('next').NextConfig}
*/
const path = require("path");
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
@ -22,6 +23,8 @@ module.exports = withBundleAnalyzer({
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/,
issuer: { and: [/\.(js|ts)x?$/] },
include: [path.resolve(__dirname, "components/icons")],
use: [
{
loader: "@svgr/webpack",