We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ mkdir webpack-demos $ cd webpack-demos $ touch .gitignore README.md $ npm init $ touch entry.js index.html
entry.js
document.write("一起轻松学习webpack.");
index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Webpack 完全教程</title> </head> <body> <script src="./bundle.js"></script> </body> </html>
安装和编译
$ npm install webpack -g $ webpack entry.js bundle.js
编译信息
Hash: 07146fa86952be132cbc Version: webpack 1.13.1 Time: 63ms Asset Size Chunks Chunk Names bundle.js 1.42 kB 0 [emitted] main [0] ./entry.js 35 bytes {0} [built]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
快速上手
entry.js
index.html
安装和编译
编译信息
The text was updated successfully, but these errors were encountered: