Skip to content

Commit ce5e6e2

Browse files
chore: export meta (#8)
1 parent 5c555f7 commit ce5e6e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/module.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { resolve } from 'path'
22

3+
import pkg from '../package.json'
4+
35
export default function nuxtWebfontloader() {
46
const { webfontloader: options } = this.options
57

@@ -14,4 +16,4 @@ export default function nuxtWebfontloader() {
1416
})
1517
}
1618

17-
module.exports.meta = require('../package.json')
19+
export { pkg as meta }

0 commit comments

Comments
 (0)