Webpack 使用入门

Lenix at 
这里介绍 webpack 的基本使用。1、打包 js 后引用 1.1 文件准备在一个单独的目录中新建配置文件 00_webpackhello/package.json:{ "name": "00_webpackhello", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build"…The post Webpack 使用入……