Bootstrap trying to load map file. How to disable it? Do I need to do it?

前端 未结 13 1166
情书的邮戳
情书的邮戳 2020-12-04 09:59

I\'m recently playing with bootsrap3. I compiled it from sources and included distr js and css to my project. The thing is, I see in GH dev tools, that it\'s trying to get .

13条回答
  •  佛祖请我去吃肉
    2020-12-04 10:34

    If you don't have the correct .map file and you don't want to edit lines in bootstrap.css you can create a dummy .map file.

    In my case I was seeing the error:

    GET /bootstrap.css.map not found.
    

    So I created an empty bootstrap.css.map in the /public directory and the error stopped.

提交回复
热议问题