WarrenJones / vite-plugin-require-transform

A plugin for vite that convert from require syntax to import
81 stars 14 forks source link

not support vite5? #59

Open alamhubb opened 5 months ago

alamhubb commented 5 months ago

i use this package in in vite5 ,get Uncaught ReferenceError: require is not defined

import requireTransform from 'vite-plugin-require-transform'

   requireTransform(),
WarrenJones commented 5 months ago

it's expected to support vite5, can you create a minimal repository for this err?

alamhubb commented 5 months ago

it's expected to support vite5, can you create a minimal repository for this err?

好的,我先关闭了,等我提供 demo的时候再来