Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Selectively specifying files. #1

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

Comments

Projects
None yet
2 participants

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.

Owner

dustMason commented Apr 6, 2013

I would welcome a pull request!

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 Jun 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment