Tekkaman

导航

 

Webpack Getting Started

  Make sure you have a fresh version of Node.js installed.

  

  If you are using npm scripts in your project, npm will try to look for webpack installation in your local modules for which this installation technique is useful.

  

  也可像下面这样打包:

  

  通常,会通过webpack.config来进行打包:

  

参考:

1、https://webpack.js.org/guides/get-started/

2、https://webpack.js.org/guides/installation/

posted on 2017-03-28 20:56  Tekkaman  阅读(197)  评论(0编辑  收藏  举报