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

Ordering doesn't work #26

Closed
westpole opened this issue Nov 21, 2014 · 2 comments
Closed

Ordering doesn't work #26

westpole opened this issue Nov 21, 2014 · 2 comments

Comments

@westpole
Copy link

Unfortunately, the option 'top-down' doesn't work. This is my config:

    includeSource: {
        options: {
            basePath: 'app',
            baseUrl: '/',
            ordering: 'top-down'
        },
        server: {
            files: {
                '.tmp/index.html': '<%= yeoman.app %>/index.html'
            }
        },
        dist: {
            files: {
                '<%= yeoman.dist %>/index.html': '<%= yeoman.app %>/index.html'
            }
        }
    }
@westpole
Copy link
Author

I found another way how to order JS file by level. I changed @include call in HTML file to this:

<!-- include: "type": "js", "files": ["scripts/*.js","scripts/**/*.js"] -->

@jwvdiermen
Copy link
Owner

As documented, the order should be specified with the include block:

<!-- include: "type": "js", "files": "scripts/**/*.js", "ordering": "top-down" -->

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

2 participants