Personal-site/next.config.js

15 lines
236 B
JavaScript
Raw Normal View History

2020-06-14 09:06:49 +00:00
module.exports = {
2021-04-18 14:06:17 +00:00
target: "serverless",
2020-06-14 09:06:49 +00:00
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
issuer: {
test: /\.(js|ts)x?$/,
},
use: ['@svgr/webpack'],
});
return config;
}
};