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

Selectively specifying files. #1

Closed
dai-shi opened this issue Apr 6, 2013 · 2 comments
Closed

Selectively specifying files. #1

dai-shi opened this issue Apr 6, 2013 · 2 comments

Comments

@dai-shi
Copy link

dai-shi commented Apr 6, 2013

Hi, I would like to specify files selectively, something like the following.

app.use(offline({
  manifest_path: "/application.manifest",
  files: [
    { file: '/public/css/aaa.css', path: '/css/aaa.css' },
    { file: '/public/js/bbb.js', path: '/js/bbb.js' }
  ]
}))

Thanks.

@dustMason
Copy link
Owner

I would welcome a pull request!

@dai-shi
Copy link
Author

dai-shi commented Apr 7, 2013

Hi, I wanted to fork your code, but unfortunately I didn't feel like using CoffeeScript. I end up creating another project: https://github.com/dai-shi/connect-cache-manifest
At first, I thought I can make it compatible with connect-offline, however, because I don't want to rely on process.cwd(), it is not compatible with dir path handling. Sorry about that.

@dai-shi dai-shi closed this as completed Jun 26, 2013
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