Grunt Uglify source map “unable to write”

﹥>﹥吖頭↗ 提交于 2019-12-05 13:34:40

https://github.com/gruntjs/grunt-contrib-uglify

Section " Migrating from 2.x to 3.x" mentions this:

sourceMap - Only accepts a Boolean value. Generates a map with a default name for you

So it looks like you are using an older version with the new version's config options.

  • You can upgrade.
  • Or use the older version's config options. (I think you should assign the destination file name to this variable instead of true. But I didn't verify in the old version's documentation.)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!