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

baseUrl not support CDN address #1545

Closed
yangmingshan opened this issue Jun 11, 2018 · 2 comments
Closed

baseUrl not support CDN address #1545

yangmingshan opened this issue Jun 11, 2018 · 2 comments

Comments

@yangmingshan
Copy link
Contributor

Version

3.0.0-beta.16

Reproduction link

https://github.com/yangmingshan/vue-cli-issue

Steps to reproduce

  • yarn
  • npm run build

What is expected?

dist folder is organized

What is actually happening?

dist folder is messy


baseUrl is a CDN address in vue.config.js

@tardyp
Copy link

tardyp commented Jun 11, 2018

I think I reproduce this issue:

If I define a vue.config.js (even with just a baseUrl config), then the files are directly in the dist folder, instead of in dist/js and dist/css:

  dist/chunk-vendors.d99df5b7.js     1103.67 kb          344.56 kb
  dist/app.39f1f482.js               11.36 kb            4.65 kb
  dist/chunk-vendors.b8827354.css    277.19 kb           32.52 kb
  dist/app.7335e73a.css              0.07 kb             0.09 kb

@tardyp
Copy link

tardyp commented Jun 11, 2018

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

2 participants