-
Notifications
You must be signed in to change notification settings - Fork 29
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
BUILD FATAL ERROR #254
Comments
@saint777 Can you provide a live example? Maybe using CodeSandbox. Thanks. |
@saint777 were you able to resolve your issue? What was the problem? |
Same problem. What have you done to fix it? |
Nope its shitty plugin
сб, 27 мар. 2021 г., 19:10 ZS-Andisch ***@***.***>:
… Same problem. What have you done to fix it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFME3CXWZU4UC2WBXVRPWALTFX7OJANCNFSM4SHFU4EQ>
.
|
@juliomrqz I'm looking for a way to see the difference of turning this plugin on and off. would there be a way to compare? thanks! |
I have the same problem |
anything new? same issue |
So, I've investigated, just use |
Describe the bug
I only want optimize PNG images. But the build crashes.
To Reproduce
installed optipng
set nuxt.config
then builld nuxt, it gives error on svg file somehow
ERROR in ./assets/img/some-image.svg 1:0
Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
my example images (Pug/Jade)
img(src="~assets/img/about/section.png")
OR
div(:style="'background-image: url(' + require('~/assets/img/test.jpg') + ')'")
@juliomrqz
The text was updated successfully, but these errors were encountered: