From 45726616b2c623c6ae847d604c578e0c6c82621e Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 7 Oct 2021 10:43:00 +0200 Subject: [PATCH] fix(bridge): add meta to cjs wrapper (closes #671) --- packages/bridge/module.cjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/bridge/module.cjs b/packages/bridge/module.cjs index 37008dead7..38830e46fe 100644 --- a/packages/bridge/module.cjs +++ b/packages/bridge/module.cjs @@ -14,3 +14,11 @@ module.exports.defineNuxtConfig = (config = {}) => { } return config } + +const pkg = require('./package.json') + +module.exports.meta = { + pkg, + name: pkg.name, + version: pkg.version +}