You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.Pull my project and install the dependency
2.Run the command npm run build
3.Compare the src/app.vue source code with the packaged dist/main.js code
4.I didn't use test2 or test3 in src/app.vue, But it's still inside dist/main.js
5.If I use <script> Rather than <script setup>, dist/main.js will not contain test2 and test3
What is expected?
dist/main.js not contain code for test2 and test3
What is actually happening?
dist/main.js contain code for test2 and test3
There is no problem in vue 3.2.37 + vue-loader 17.0.0
vue 2.7.10 + vue-loader 15.10.0 has some problems
The text was updated successfully, but these errors were encountered:
Version
2.7.10
Reproduction link
github.com
Steps to reproduce
1.Pull my project and install the dependency
2.Run the command
npm run build
3.Compare the
src/app.vue
source code with the packageddist/main.js
code4.I didn't use test2 or test3 in
src/app.vue
, But it's still insidedist/main.js
5.If I use <script> Rather than <script setup>,
dist/main.js
will not contain test2 and test3What is expected?
dist/main.js
not contain code for test2 and test3What is actually happening?
dist/main.js
contain code for test2 and test3There is no problem in vue 3.2.37 + vue-loader 17.0.0
vue 2.7.10 + vue-loader 15.10.0 has some problems
The text was updated successfully, but these errors were encountered: