vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.71k stars 4.4k forks source link

Module not found for background image when build/generate with space in image name. #1502

Closed mu-yu closed 5 years ago

mu-yu commented 5 years ago

I have some style in vue sfc like this

<style lang="scss">
.some-class {
    background-image: url("~assets/index/ico xxx.png"); // there is a space between ico and xxx
}
</style>

There is no problem in dev, but Module not found error in build and generate.

mu-yu commented 5 years ago

submit in wrong repo and closed.