yui-compressor


YUI Compressor comments syntax error


I use YUI Compressor in Symfony2 with assetic bundle.
I have a problem:
If a jquery file start with /* comments I get syntax error....
In order to get rid of it I need to delete all /* comments from all js files...
This is starting to be a problem as everytime I update other bundles the comments are returning.
Anyone have an idea how to sovle this? Is this a known issue?
YUI Compressor version: 2.4.8
Thanks a lot.
Cannot seem to find why this is happening. It is most likely a bug. If you use Dreamweaver, try using this to ease your work. If you are not using dreamweaver, find your favourite program here.
Hope this helps!
Check the encoding on your file. I've had problems with YUI Compressor if my .js and .css files were not UTF-8.

Related Links

YuiCompressor.net - adding javascript source map links
YUI Compressor - compress from one directory to another
How to use yuicompressor in node application to minify javascript [closed]
Where can I find the latest version of yuicompressor to download
YUI Compressor to compress all the files in a directory
YUI Compressor comments syntax error
Why won't YUI Compressor munge these function names?
Does YUI compressor have support for rewriting relative paths?
YUI-Compressor: result file is empty
How to preserve comments with YUI compressor
YUI Compressor: What are micro optimizations?
Use Packer AND YUI Compressor?

Categories

HOME
ms-access
vim
pdf
deployment
coq
netbeans
single-sign-on
angular-material
comparison
react-router
routes
graphql
webpack-2
convolution
add
nano-server
u-sql
timeout
flask-wtforms
circuit
percona
libtiff
pc
fatal-error
pugjs
introduction
plunker
abi
accessor
language-agnostic
tibco-mdm
tooltipster
windows-error-reporting
saas
nat
directx-10
exuberant-ctags
mapbox-gl
reportbuilder
impersonation
temporary-files
bootstrapper
lumberjack
cookiecutter-django
midl
auto-update
filepicker
hls.js
mplayer
colorama
imanage
spring-mongodb
spring-cache
or-tools
cubes
jquery-filter
url-pattern
probability-density
multi-level
measures
ctest
etsy
contact-list
connect-by
apachebench
oauth2client
tform
itextpdf
associative-array
netmq
iad
endeca-workbench
dukescript
splash
pretty-print
fscommand
dia
block-device
gadt
google-style-guide
cdt
codeigniter-routing
neolane
openexr
p4java
.aspxauth
soundtouch
back-stack
jquery-mobile-dialog
http-unit
coderush
errai
jspinclude
parametric-equations
code-cleanup
doh
gcj
xmlspy
blitz++
xsdobjectgen
privilege
nerddinner
ubuntu-9.04
post-build
ajax-forms

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App