-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Broken build with posthtml #6136
Comments
I disabled minifcation and things magically worked... |
Please fill out the issue template. Especially the Parcel version |
I can confirm that with my project, turning off minification (adding --no-minify) makes building possible. |
Maybe downgrading htmlnano to |
Thanx @DeMoorJasper ! - Your reply shed some light!
It didn't work with 0.2.9 but I read the info what Kirill Maltsev wrote about changes in 0.2.9 so I gave a shot with 0.2.8 and build works with that version - in 0.2.9 they added:
And it might have broken the building process :/ (at least for my project) So in summary parcel@2.0.0-beta.1 with htmlnano (and my project): parcel@2.0.0-beta.2 - can't make it work with JS class' private fields... (not tested after ~2021.04.01) Thanx for your support! |
- Downgrade "htmlnano" to v0.2.8 using yarn resolutions. - See parcel-bundler/parcel#6136
I made a simple html file. Very simple. Added a js file and put it in the footer of the index.html page.
Added a sass file. I have one dependancy. normalize.css
I tried to build the html file with parcel build index.html
I get this error:
I moved everything into a src folder cause i thought maybe thats what will make it happy. Nope :/
dev mode works though... weird...
Why is this happening?
I cant find any info on google....
The text was updated successfully, but these errors were encountered: