XF 2.2 Having issues building release in XF2.2

Jaxel

Well-known member
Code:
$ php cmd.php xf-addon:build-release EWR/Atendo
Performing add-on export.

Exporting data for [8WR] XenAtendo 2 (Calendar) PRO to /public_dev/src/addons/EWR/Atendo/_data.
26/26 [============================] 100%
Written successfully.
Attempting to validate addon.json file...
JSON file validates successfully!

Building release ZIP.
Unexpected error while minifying JS: Empty result provided by the compiler.

My JS files have not changed from my XF2.1 releases.
 
That seems like a reasonable workaround. Ultimately then your build.json settings must have been asking for this already minified file to be minified which isn't going to work. If you did want to include the already minified file I think you would need to ensure it has a file name suffix of .min.js or otherwise make sure it isn't included in the minify section of build.json.

If it already did have a filename suffix of .min.js then maybe that's a bug but I thought we skipped those.
 
Top Bottom