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

Exception thrown when transpiling each src/dest group of files. #36

Open
dotnetCarpenter opened this issue Mar 16, 2015 · 0 comments
Open

Comments

@dotnetCarpenter
Copy link

undefined is not a function thrown on line haml.js#L58, because file.src is undefined. I haven't found out why yet.

Gruntfile.js:

haml: {
  prod: {
    files: {
      expand: true,
      src: "src/haml/**/*.haml",
      ext: "html",
      rename: function(dest, src) {
        return dest + path.basename( src );
      }
    },
    options: {
      language: "ruby",
      target: "html"
    }
  }
}

Folder structure:

|_app
|_src
   |_haml
      | launchpage.haml      

Haml 4.0.6

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