Webpack Getting Started

Webpack Getting Started

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

  Webpack Getting Started

  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 Getting Started

  也可像下面这样打包:

  Webpack Getting Started

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

  Webpack Getting Started

参考:

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

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

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注