@builderx/babel-plugin
Advanced tools
@@ -25,3 +25,3 @@ (function (factory) { | ||
if (node.openingElement.name.name !== 'script') { | ||
const filename = state.file.opts.filename || metadata.fileName; | ||
const filename = metadata.fileName || state.file.opts.filename; | ||
const { start } = node.loc; | ||
@@ -39,4 +39,2 @@ const dataPathValue = `${filename}:${start.line}:${start.column}`; | ||
exports.default = babelPlugin; | ||
}); | ||
{ | ||
"name": "@builderx/babel-plugin", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A Babel plugin for builderx", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
3099
-0.06%