首页  >  问答  >  正文

javascript - 如何配置webpack才能引入外链css和js

求解答!!
如何配置webpack.config 才能给所有html统一注入外链js和css,避免外链资源被打包进项目。

高洛峰高洛峰2684 天前1077

全部回复(1)我来回复

  • 学习ing

    学习ing2017-06-15 09:25:05

    webpack.config.js

    雷雷

    index.html

    雷雷

    回复
    0
  • 取消回复