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.

有帮助吗?

解决方案

Change the dest in options like so:

    useminPrepare: {
        html: 'app/index.html',
        options: {
            dest: './'
        }
    },
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top