We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't get this plugin to work when minification is turned on. For example if I have.
<!DOCTYPE html> <html> <body> <!--[ <script type="text/javascript" src="cordova.js"></script> ]--> </body> </html>
and run parcel build index.html
parcel build index.html
then I get
<!DOCTYPE html><html> <body> </body> </html>
But running parcel build index.html --no-minify
parcel build index.html --no-minify
gives me the desired output.
<!DOCTYPE html> <html> <body> <script type="text/javascript" src="cordova.js"></script> </body> </html>
The text was updated successfully, but these errors were encountered:
Hi @Jbcampbe I came across the same issue, It can be avoided by creating a .htmlnanorc file:
.htmlnanorc
{ "removeComments": false }
Sorry, something went wrong.
No branches or pull requests
I can't get this plugin to work when minification is turned on. For example if I have.
and run
parcel build index.html
then I get
But running
parcel build index.html --no-minify
gives me the desired output.
The text was updated successfully, but these errors were encountered: