Question

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.

Was it helpful?

Solution

Change the dest in options like so:

    useminPrepare: {
        html: 'app/index.html',
        options: {
            dest: './'
        }
    },
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top