Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Сделать опцию build опциональной #9

Open
monolithed opened this issue Nov 27, 2014 · 0 comments
Open

Сделать опцию build опциональной #9

monolithed opened this issue Nov 27, 2014 · 0 comments

Comments

@monolithed
Copy link

Предлагаю сделать опцию build опциональной, а имя таска брать из названия сабтаска?

В моем случае это выглядит так:

module.exports = function (grunt, options) {
    return {
        production: {
            build      : 'production',
            projectRoot: 'conf/'
        },

        development: {
            build      : 'development',
            projectRoot: 'conf/'
        }
    };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant