Nuxt.js: Assets does not compiled at nuxt-edge:latest

Created on 14 Aug 2018  路  15Comments  路  Source: nuxt/nuxt.js

Version

nuxt-edge

Reproduction link

.

Steps to reproduce

I'm using nuxt-edge version "latest"

since I'm re-installed packages (node_modules),
this bug showed up.

so I'm guessing latest build has this bug

What is expected ?

~assets/icon.svg (in style section)
should be turn into
data:image/svg+xml;base64 ...)

What is actually happening?

assets doesn't compiled.
for example) background-image: url(/assets/icon.svg)

Additional comments?

Assets compiled with 2.0.0-25468832.6578bd7
not compiled with latest build which 2.0.0-25569931.85a8af5

I'm using nuxt starter template

This bug report is available on Nuxt community (#c7565)
bug-report

All 15 comments

Hey :wave:

Have you tried ~/assets/.. vs. ~assets/.../?

@manniL
Thank you for your response :)

Ah sorry
I tried ~/assets/.. in <style>
not ~assets/..

I just tried ~assets/.. in <style> and this works well.
and ~/assets/.. / ~assets/.. both works well in <template>

I'm wondering why doesn't work ~/assets/.. with