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

Parcel build failed at @-moz-viewport #34

Open
kapenzo opened this issue Aug 23, 2022 · 0 comments
Open

Parcel build failed at @-moz-viewport #34

kapenzo opened this issue Aug 23, 2022 · 0 comments

Comments

@kapenzo
Copy link

kapenzo commented Aug 23, 2022

I am using the latest version and getting the following error when build with the parceljs:

@parcel/transformer-css: Unknown at rule: @-moz-viewport
328 |

329 | @-moz-viewport {
| ^
330 | width: device-width;
331 | }

It seems that is already a legacy code which is no longer compilable.
The eslint is saying: Unknown at rule @-moz-viewportscss(unknownAtRules)

I see in the code:
// Make viewport responsive
//
// @Viewport is needed because IE 10+ doesn't honor in
// some cases. See http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/.
// Eventually @Viewport will replace . It's been manually
// prefixed for forward-compatibility.
@-moz-viewport {
width: device-width;
}

@-moz-viewport {

Can anyone help here? Do we need a change in the code?

Btw.: Is this project still maintanable? Maybe let's get rid of already not supported IE ?

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

1 participant