Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • n00b 33 posts 134 karma points
    Jun 01, 2017 @ 14:28
    n00b
    0

    minification failed. buy WHHhhhyyyy?? :(

    /* Minification failed. Returning unminified contents. (10450,1): run-time error CSS1019: Unexpected token, found '@import' (10450,9): run-time error CSS1019: Unexpected token, found 'url("http://fast.fonts.net/t/1.css?apiType=css&projectid=7d87a58c-1d4b-4675-9782-ac9cb9a73524")' / /! * Bootstrap v3.3.7 (http://getbootstrap.com) * Copyright 2011-2016 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) / /! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

    • the @import appears at the top of the .css file and the generated file seems to have knocked out quite a few styles in the process.

    Any help appreciated.

  • Paul Seal 428 posts 2354 karma points MVP 3x c-trib
    Jun 01, 2017 @ 14:52
    Paul Seal
    0

    When I have this trouble I put the @import statements and other things which I think might be causing it, into a separate css file which won't be minified, I then start adding bits back in if it works. Isolating the problem

  • n00b 33 posts 134 karma points
    Jun 01, 2017 @ 14:53
    n00b
    0

    Thanks Paul. Will try that. :)

  • n00b 33 posts 134 karma points
    Jun 01, 2017 @ 14:58
    n00b
    0

    Is there any way to 'roll back' the minification process to unminified? It's possible it's tried to minify old (unused) .css files and new ones..

  • n00b 33 posts 134 karma points
    Jun 01, 2017 @ 15:33
    n00b
    0

    answered my own question - for anyone else wanting to know the answer, in web.config, change debug="false" to "true" while you sort your .css files out.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies