How does gulp package plug-ins like 97date with its own css, and the css path will go wrong due to changes in the js path after packaging?

1. Requirejs, development is used in the project. Packaged with gulp, there is code in 97datejs to create link, but based on its own js. After packaging, the js becomes a path, and the path of the css becomes

.
  1. correct path: "http://localhost/merge/js/lib/my97Date/skin/WdatePicker.css"
"

wrong path: "http://localhost/merge/skin/WdatePicker.css"

"

for referencing such plug-ins, how to have a better solution without modifying the folder path

Apr.01,2021
Menu