Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

app.min.js #122

Closed
anitagraham opened this issue Oct 6, 2014 · 1 comment
Closed

app.min.js #122

anitagraham opened this issue Oct 6, 2014 · 1 comment

Comments

@anitagraham
Copy link

It would be helpful to have the minified app.js available as app.min.js (included by default) and an unminified version (app.js) available for those times when not everything is working as intended.

@ghost
Copy link

ghost commented Oct 7, 2014

Just adjust the Gruntfile.js to your needs. This is how I'm using it:

    sass: {
        options: {
            includePaths: ['bower_components/foundation/scss'],
            sourceMap: true
        },
        dev: {
            options: {
                style: 'expanded',
                banner: '<%= tag.banner %>',
            },
            files: {
                'css/app.css': 'scss/app.scss'
            }
        },
        dist: {
            options: {
                outputStyle: 'compressed'
            },
            files: {
                'css/app.min.css': 'scss/app.scss'
            }        
        }
    },

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants