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:
@ -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",
|
||||
|
Reference in New Issue
Block a user