We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👋 @rohanray WDYT of changing the API of the plugin the following way?
// next.config.js module.exports = require("next-compose-plugins")([ require("@next/bundle-analyzer")({ enabled: true }), require("@zeit/next-source-maps")(), - [require("next-fonts"), { assetPrefix: 'https://example.com', enableSvg: true }], + require("next-fonts")({ prefix: 'https://example.com', enableSvg: true }), ])
This request is similar to martpie/next-transpile-modules#52
I'd like to avoid pollution of the config object with plugin-specific options like enableSvg and also customize prefix for fonts only.
enableSvg
prefix
next-fonts/index.js
Line 12 in cf7165c
↓
const assetPrefix = options.prefix !== undefined ? options.prefix : nextConfig.assetPrefix || '';
The text was updated successfully, but these errors were encountered:
🏓 @rohanray 🙂
A issue request in next-transpile-modules has been successfully resolved: martpie/next-transpile-modules#52
next-transpile-modules
Sorry, something went wrong.
@kachkaev : I will have a look this weekend. Thanks -RR
No branches or pull requests
👋 @rohanray WDYT of changing the API of the plugin the following way?
This request is similar to martpie/next-transpile-modules#52
I'd like to avoid pollution of the config object with plugin-specific options like
enableSvg
and also customizeprefix
for fonts only.next-fonts/index.js
Line 12 in cf7165c
↓
The text was updated successfully, but these errors were encountered: