• Resolved sublines

    (@sublines)


    Hi,
    thanks for making and maintaining this great plugin!

    When I have both the following options enabled:
    – Enable defer parsing of JS files globally
    – Skip deferring the jQuery library
    FVM generates an empty header.min.js file.

    When the option to skip deferring the jQuery library is disabled, it generates a normal header.min.js file which contains a minified version of the jquery library.

    This issue does not occur when loading jQuery via Google’s CDN.

    Any ideas?
    Thanks in advance and keep up the good work!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Raul P.

    (@alignak)

    Hi,

    You probably only have jquery on the header, right?

    The skip deferring the jQuery library basically, adds jquery to the ignore list.
    If there’s nothing else other than jquery, it would be empty.

    The issue here is that FVM doesn’t check if the generated file is empty before outputting it to the site. Will release an update for that soon.

    Thread Starter sublines

    (@sublines)

    Hi,

    yes, I only have jquery in the header.

    It is not a big issue anyway but I’m glad you’re considering it in the next update.

    Thanks

    Plugin Author Raul P.

    (@alignak)

    I think this has been fixed on v2.3.3, so please try it when you have the time.

    Thread Starter sublines

    (@sublines)

    Yes it has, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FVM generates an empty header.min.js’ is closed to new replies.