Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant