美文网首页
The 'mode' option has not been s

The 'mode' option has not been s

作者: super静_jingjing | 来源:发表于2018-08-22 11:33 被阅读0次

    WARNING in configuration
    The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
    You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/

    解决:打包时命令带上--mode development

    相关文章

      网友评论

          本文标题:The 'mode' option has not been s

          本文链接:https://www.haomeiwen.com/subject/prbeiftx.html