angular-ui / ui-codemirror

This directive allows you to add CodeMirror to your textarea elements.
http://angular-ui.github.io/ui-codemirror
MIT License
378 stars 193 forks source link

'grunt build' breaks mode/theme #103

Open sclearion opened 9 years ago

sclearion commented 9 years ago

Im using a vanilla install of yeoman using the angular generator however, when I run grunt build, the css styles for the selected theme 'eclipse' is lost even though I can see in the uglified/minified files that the styles have been included. I've tried every everything but no avail. Here is the head of my index.html:

<head>
        <meta charset="utf-8">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
        <!-- build:css(.) styles/vendor.css -->
        <!-- bower:css -->
        <link rel="stylesheet" href="bower_components/nvd3/build/nv.d3.css" />
        <link rel="stylesheet" href="bower_components/components-font-awesome/css/font-awesome.css" />
        <link rel="stylesheet" href="bower_components/codemirror/lib/codemirror.css" />
        <link rel="stylesheet" href="bower_components/angular-toastr/dist/angular-toastr.css" />
        <!-- endbower -->
        <!-- endbuild -->
        <!-- build:css(.tmp) styles/main.css -->
        <link rel="stylesheet" href="bower_components/codemirror/theme/eclipse.css" />
        <link rel="stylesheet" href="styles/main.css">
        <link rel="stylesheet" href="styles/ui.css">
        <!-- endbuild -->
    </head>