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

No "source" option specified when running 5.0.1 with grunt 10.1 #25

Open
Balf opened this issue Jun 20, 2017 · 2 comments
Open

No "source" option specified when running 5.0.1 with grunt 10.1 #25

Balf opened this issue Jun 20, 2017 · 2 comments

Comments

@Balf
Copy link

Balf commented Jun 20, 2017

When installing the plugin as specified in the readme I get the error mentioned above. I've tried replacing src with source and adding it to a couple different places but no cigar.

@cristinallamas
Copy link

same here

@35n139e
Copy link

35n139e commented Jul 2, 2018

It seems that how to write config is changed.
I wrote it as below and it worked.

grunt.initConfig({
  kss: {
    options: {
      verbose: true
    },
    dist: {
      src: ['/path/to/sourcedir'],
      dest: '/path/to/destdir'
    }
  }
})

↓↓↓

grunt.initConfig({
  kss: {
    options: {
      verbose: true
    },
    files: [{
      src: ['/path/to/sourcedir'],
      dest: '/path/to/destdir'
    }]
  }
})

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

3 participants