Skip to content
New issue

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

执行webpack --progress -hide-modules后,main.js内容大小几乎没有变化是版本原因么? #123

Open
irishhq opened this issue Feb 23, 2020 · 0 comments

Comments

@irishhq
Copy link

irishhq commented Feb 23, 2020

P191页,书中所说'编译出9000多行',实际运行,编译为417行。同时执行webpack --progress --hide-modules后, /dist/main.js为压缩的一行,格式化后,与之前的差不多也是400多将近500行。运行效果与书本中有差异,devDependencies如下
"webpack": "^4.41.6",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
想请问下,这是仅仅因为版本的原因么?还是有其他原因?为何打包前后几乎没有变化?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant