Separating Frontend & Backend Dependencies with Gulp/Yarn

别来无恙 提交于 2019-12-25 01:37:18

问题


I want to use yarn instead of bower + npm. Yarn uses package.json and does not separate between frontend and backend packages.

I read so far, that I need to separate my frontend + backend dependencies with gulp: How to use one package manager for backend and frontend? (Yarn/NPM)

My app uses the MEAN stack. Currently, I'm using e.g. wiredep to inject all frontend dependencies into my index.html.

Question: How can I automatically separate the frontend dependencies from the backend dependencies in my build process?/Is there any option to specify frontend/backend packages with yarn?

来源:https://stackoverflow.com/questions/50687251/separating-frontend-backend-dependencies-with-gulp-yarn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!