what is the meaning of “pragma style” in webpack?

前端 未结 2 1915
感动是毒
感动是毒 2021-02-05 03:36

in the devtool configuration docs they say:

Prefixing @, # or #@ will enforce a pragma style. (Defaults to #, recommended)

what it

2条回答
  •  被撕碎了的回忆
    2021-02-05 03:59

    Different browsers require different formats for specifying sourcemaps. If your browser isn't showing sourcemaps for webpack'd files, then you can change that option to make it compatible with your browser.

提交回复
热议问题