rollup-plugin-requiretoimport
v1.0.0
Published
require 转 import插件
Downloads
3
Readme
rollup-plugin-requiretoimport
require 转 import插件
使用方法
npm i -D rollup-plugin-requiretoimport
import requireToImportPlugin from 'rollup-plugin-requiretoimport';
export default defineConfig({
plugins: [
requireToImportPlugin()
]
})