-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[enhancement]Remove useless files and performance enhancement in dev server. #1072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup!
I will aprove this PR once the condition in meta.js is fixed.
meta.js
Outdated
@@ -105,6 +105,7 @@ module.exports = { | |||
".eslintrc.js": "lint", | |||
".eslintignore": "lint", | |||
"config/test.env.js": "unit || e2e", | |||
"build/webpack.test.conf.js": "unit || e2e", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that config is only required if e2e || (unit && runner === 'karma')
- jest doesn't use webpack.
Done. @LinusBorg |
Thanks. I will test this locally tonight and then approve & merge. |
* develop: bump v1.2.4 revert #996 chunk names to minify prodution JS (#1086) fix missing comma Batman! add missing cacheBusting option make jest ignore the e2e test folder because its likely to contain files matching the jest's filename pattern Improved Jest config (#1074) Fix # 1070 When index.html has a positional variable, the error can be printed correctly (#1071) [enhancement]Remove useless files and performance enhancement in dev server. (#1072)
* vuejs-templates/master: bump v1.2.4 Simplify elementCount custom assertions (vuejs-templates#898) revert vuejs-templates#996 chunk names to minify prodution JS (vuejs-templates#1086) fix missing comma Batman! add missing cacheBusting option make jest ignore the e2e test folder because its likely to contain files matching the jest's filename pattern Improved Jest config (vuejs-templates#1074) Fix # 1070 When index.html has a positional variable, the error can be printed correctly (vuejs-templates#1071) [enhancement]Remove useless files and performance enhancement in dev server. (vuejs-templates#1072)
…server. (vuejs-templates#1072) * replace `id` with `name` in chunk files, Fix vuejs-templates#996 * fix typo * remove env in `.babelrc` when not using unit or e2e * remove `webpack.test.conf.js` when not using unit or e2e * remove extra space in `.babelrc` * enable `compress` in devServer by default * remove `webpack.test.conf.js` when not using unit(karma) or e2e
…server. (vuejs-templates#1072) * replace `id` with `name` in chunk files, Fix vuejs-templates#996 * fix typo * remove env in `.babelrc` when not using unit or e2e * remove `webpack.test.conf.js` when not using unit or e2e * remove extra space in `.babelrc` * enable `compress` in devServer by default * remove `webpack.test.conf.js` when not using unit(karma) or e2e
* develop: bump v1.2.4 revert vuejs-templates#996 chunk names to minify prodution JS (vuejs-templates#1086) fix missing comma Batman! add missing cacheBusting option make jest ignore the e2e test folder because its likely to contain files matching the jest's filename pattern Improved Jest config (vuejs-templates#1074) Fix # 1070 When index.html has a positional variable, the error can be printed correctly (vuejs-templates#1071) [enhancement]Remove useless files and performance enhancement in dev server. (vuejs-templates#1072)
Fix comments in
config/index.js
// can be overwritten by process.env.HOST
->// can be overwritten by process.env.PORT
remove env in
.babelrc
when not using unit or e2eremove
webpack.test.conf.js
when not using unit or e2eremove extra space in
.babelrc
before:
after:
compress
in devServer by default, it will be useful when you try to access your website in a remote server.before:
after: