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

fix: fix build error when path contains space (close #4667) #4809

Merged
merged 2 commits into from
Nov 8, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update packages/@vue/cli-service/lib/commands/build/formatStats.js
Co-Authored-By: Haoqun Jiang <haoqunjiang@gmail.com>
  • Loading branch information
RSeidelsohn and haoqunjiang authored Nov 8, 2019
commit 7ed67ed97efd8682d255960025ad1b725d73e274
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function formatStats (stats, dir, api) {
const isMinJS = val => /\.min\.js$/.test(val)
assets = assets
.map(a => {
a.name = a.name.split(`?`)[0]
a.name = a.name.split('?')[0]
return a
})
.filter(a => {
Expand Down