We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0481167 commit dcfbfbcCopy full SHA for dcfbfbc
lib/module.js
@@ -2,8 +2,8 @@ import { resolve } from 'path'
2
3
import pkg from '../package.json'
4
5
-export default function nuxtWebfontloader() {
6
- const { webfontloader: options } = this.options
+export default function nuxtWebfontloader(moduleOptions) {
+ const options = { ...this.options.webfontloader, ...moduleOptions }
7
8
if (!options || !Object.keys(options).length) {
9
return
0 commit comments