Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server 打包 #3212

Open
1 task
spf-oss opened this issue Oct 29, 2021 · 3 comments
Open
1 task

server 打包 #3212

spf-oss opened this issue Oct 29, 2021 · 3 comments
Labels

Comments

@spf-oss
Copy link

spf-oss commented Oct 29, 2021

  • I have searched through existing issues

Feature Request

我想问一下,我想把vueServerMain.js通过webpack 或者 rollup 打包成一个文件继承在软件中使用 ,但是打包出来的文件一直有问题,请问你项目中的打包文件应该怎样修改才能实现我的需求?

@yoyo930021
Copy link
Member

You can use https://www.npmjs.com/package/vls .

@spf-oss
Copy link
Author

spf-oss commented Oct 29, 2021

我知道可以使用npm install vls --save,但是node_modules文件夹文件太多,我希望一个js文件就可以解决。我尝试使用webpack 和 rollup 进行打包,但是打包的js文件无法使用。

@yoyo930021
Copy link
Member

我知道可以使用npm install vls --save,但是node_modules文件夹文件太多,我希望一个js文件就可以解决。我尝试使用webpack 和 rollup 进行打包,但是打包的js文件无法使用。

We have a number of deps that rely on file paths to work, Like: TypeScript.
Vls is trying to bundle other deps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants