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

Multiple base directories #3

Closed
brunowego opened this issue Mar 15, 2018 · 2 comments
Closed

Multiple base directories #3

brunowego opened this issue Mar 15, 2018 · 2 comments

Comments

@brunowego
Copy link

brunowego commented Mar 15, 2018

I'm getting around this, but it would be great to have that support.

module.exports = {
  options: {
    workerFile: 'sw.js'
  },
  build: {
    options: {
      baseDir: './dist'
    }
  },
  dev: {
    options: {
      baseDir: ['./public', './tmp'], // multiple directories :)
      workerDir: './tmp'
    }
  }
};

Does it make sense to support more than one directory?

@sparanoid
Copy link
Owner

sparanoid commented Oct 17, 2018

What is the use case of getting more than one source dir?

I'm also too busy these days to get to this, it'd be great if you can make a PR for this.

@brunowego
Copy link
Author

@sparanoid thanks for the reply. I am not working on this more. Sorry about that, but I forgot the reason for this. I will close this.

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