abagshaw / brackets-minifier

Minifies and Concatenates JS and CSS in Brackets using UglifyJS3 and CleanCSS
MIT License
55 stars 15 forks source link

File contents "undefined" #33

Open ghost opened 5 years ago

ghost commented 5 years ago

Maybe I'm doing something wrong but minifying any js creates a file which contains only "undefined." I haven't tried to minify any css.

Windows 10 Pro 1809, Brackets Release 1.14 build 1.14.0-17740

{ "less": [ "css/cat.less", "css/cat.mgr.less" ], "brackets-minifier.on-save-project": false, "brackets-minifier.js-project-minify": true, "brackets-minifier.css-project-minify": false, "brackets-minifier.js-custom-path": "", "brackets-minifier.css-custom-path": "", "brackets-minifier.project-exclude": "", "brackets-minifier.concat-js-filename": "", "brackets-minifier.concat-css-filename": "", "brackets-minifier.uglifyjs-options": "{}", "brackets-minifier.cleancss-options": "{}" }

The only messages in the console are JSLint warnings. Also, don't know if it's relevant or not, but Ctrl+Alt+M doesn't work. I have to go to Edit>Minify to get anything to happen. Edit>Minify Project also works but all the files contain only "undefined"

choobie1kenoobie commented 4 years ago

I have the exact same behaviour. Did you find any fix @iamdave210 ?

ghost commented 4 years ago

@choobie1kenoobie Unfortunately not. I eventually gave up.

choobie1kenoobie commented 4 years ago

Sucks! It worked just fine on my other desktop. Must be an incompatibility issue.

On Tue, 9 Jun 2020, 18:09 David, notifications@github.com wrote:

@choobie1kenoobie https://github.com/choobie1kenoobie Unfortunately not. I eventually gave up.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/abagshaw/brackets-minifier/issues/33#issuecomment-641405483, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHGNVTN66AURZUNP6YZKRHLRVZNEZANCNFSM4IJGS4HA .