originjs / vite-plugins

Other
173 stars 28 forks source link

The plugin incompatible with vue2 class component #10

Closed yuanlin1995 closed 3 years ago

yuanlin1995 commented 3 years ago

Versions

Reproduction

Additional Details

Steps to reproduce

one file to use for vue mixin the file use cjs require something if the file have a string like 'http://xxx' , then it will get one error example code and error image use plugin image

What is Expected?

What is actually happening?

jiawulin001 commented 3 years ago

I have not reproduced the problem you mentioned, please provide a repository for reproduction.

yuanlin1995 commented 3 years ago

I have not reproduced the problem you mentioned, please provide a repository for reproduction.

thank for your answer, the repository : https://github.com/yuanlin1995/test

jiawulin001 commented 3 years ago

We have released v1.0.1 to fix this issue, you can update it @originjs/vite-plugin-commonjs.

npm i @originjs/vite-plugin-commonjs@1.0.1
yuanlin1995 commented 3 years ago

We have released v1.0.1 to fix this issue, you can update it @originjs/vite-plugin-commonjs.

npm i @originjs/vite-plugin-commonjs@1.0.1

yeah, it take effect, thanks a lot

yuanlin1995 commented 3 years ago

We have released v1.0.1 to fix this issue, you can update it @originjs/vite-plugin-commonjs.

npm i @originjs/vite-plugin-commonjs@1.0.1

yeah, it take effect, thanks a lot