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
./dist
apply
development
production
The text was updated successfully, but these errors were encountered:
No branches or pull requests
webpack基本配置
打包入口,webpack执行构建的第一步,是从entry开始,可抽象成输入。
打包的出口,告诉webpack在哪里输出它所创建的bundles,以及如何命名这些输出文件,默认输出目录为
./dist
。模块转换器,loader用于对模块的源代码进行转换。
扩展插件,在webpack构建流程中,插件是一个具有
apply
属性的JavaScript对象。apply
属性会被webpack compiler对象可在整个编译生命周期访问。模式,参数值可为
development
和production
。The text was updated successfully, but these errors were encountered: