R
Size: a a a
R
R
R
R
const withPlugins = require("next-compose-plugins");
const withSass = require("@zeit/next-sass");
const withImages = require("next-images");
const withCss = require('@zeit/next-css');
const withFonts = require('next-fonts');
const nextConfig = {
webpack: (config, { buildId, dev, isServer, defaultLoaders }) => {
config.module.rules.push({
test: /\.(eot|woff|woff2|ttf|svg|png|jpg|gif)$/,
use: {
loader: 'file-loader',
options: {
limit: 100000,
name: '[name].[ext]'
}
}
})
return config;
}
};
module.exports = withPlugins(
[
withFonts,
withFonts,
withSass,
withCss,
],
nextConfig
);
V
R
🦜
R
R
R
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import '~boxicons/css/boxicons.css';
body {
& > * {
font-family: 'Inter', sans-serif;
}
}
R
🦜
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import '~boxicons/css/boxicons.css';
body {
& > * {
font-family: 'Inter', sans-serif;
}
}
🦜
R
R
🦜
const withPlugins = require("next-compose-plugins");
const withSass = require("@zeit/next-sass");
const withImages = require("next-images");
const withCss = require('@zeit/next-css');
const withFonts = require('next-fonts');
const nextConfig = {
webpack: (config, { buildId, dev, isServer, defaultLoaders }) => {
config.module.rules.push({
test: /\.(eot|woff|woff2|ttf|svg|png|jpg|gif)$/,
use: {
loader: 'file-loader',
options: {
limit: 100000,
name: '[name].[ext]'
}
}
})
return config;
}
};
module.exports = withPlugins(
[
withFonts,
withFonts,
withSass,
withCss,
],
nextConfig
);
🦜
R