vite-plugin-importer
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "vite-plugin-importer", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "description": "use babel-plugin-import in vite", |
@@ -1,4 +0,4 @@ | ||
import babelImport from 'babel-plugin-import'; | ||
import babel from '@babel/core'; | ||
import importMeta from '@babel/plugin-syntax-import-meta'; | ||
const babelImport = require('babel-plugin-import'); | ||
const babel = require('@babel/core'); | ||
const importMeta = require('@babel/plugin-syntax-import-meta'); | ||
@@ -30,2 +30,2 @@ function usePluginImport(options){ | ||
export default usePluginImport | ||
module.exports = usePluginImport |
1749