vite-plugin-importer
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "vite-plugin-importer", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "description": "Integration for babel-plugin-import", |
@@ -12,3 +12,3 @@ const babelImport = require('babel-plugin-import'); | ||
if (/\.(?:[jt]sx?|vue)$/.test(id)) { | ||
if (/\.(?:[jt]sx?|vue)$/.test(id) && !/node_modules\/vite/.test(id)) { | ||
const plugins = [importMeta, [babelImport, options]] | ||
@@ -15,0 +15,0 @@ |
3791