gulp
uglify
is packaged for js
, css
and other files introduced in some sources html
dist
Directory, please tell me how to do it. You can easily switch the path of importing these packaged files in the development environment and production environment
I have the following questions, I hope you can help me out~
on git
introduce the packaged path or the previous one?
How to change the path after packaging? At which step do you do this?
You can use this plug-in to replace js and css files in html
gulp-html-replace
https://www.npmjs.com/package...
Are production and local gulp packaged in different packages?
This requires adding tasks to gulpfile.js (one task for production and testing)