Frage

When using usemin, the output directory for cssmin and uglifyjs is by default set to dist/assets/.

I want to offer a different directory to place my new files in, ie: assets/.

I can't seem to figure out, how to change these settings in my gruntfile using usemin.

War es hilfreich?

Lösung

Change the dest in options like so:

    useminPrepare: {
        html: 'app/index.html',
        options: {
            dest: './'
        }
    },
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top