Changes made in files under node_modules

后端 未结 2 1584
梦如初夏
梦如初夏 2021-01-14 01:44

I have changed some files present in node_modules folder. But when I build the application using ng build -op=\"app\" --base -href=\"dist\" --aot and when I dep

相关标签:
2条回答
  • 2021-01-14 02:00

    This depends on how you build your app, probably your webpack config. Show us your webpack config, you should configure your loader to include the module.

    0 讨论(0)
  • 2021-01-14 02:06

    If you just have to change the icon, You can do it like this. Whenever datepicker is triggered you can just add below lines.

    document.querySelector(".previous span").innerHTML = "<="

    document.querySelector(".next span").innerHTML = "=>"

    you can change "=>" with whatever icon you want to use.

    To check this. Go to https://valor-software.com/ngx-bootstrap/#/datepicker

    Then Open any Date Picker and Open console and paste this into console document.querySelector(".next span").innerHTML = "=>"

    see that next icon changes to =>

    0 讨论(0)
提交回复
热议问题