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

DynamicAssets type: LessAsset fails on .map files #124

Open
iforapsy opened this issue Apr 1, 2014 · 0 comments
Open

DynamicAssets type: LessAsset fails on .map files #124

iforapsy opened this issue Apr 1, 2014 · 0 comments

Comments

@iforapsy
Copy link

iforapsy commented Apr 1, 2014

The following code makes any page using the asset tag hang indefinitely if there is a CSS source map file in the directory.

  new rack.DynamicAssets({
    type: rack.LessAsset,
    urlPrefix: '/css',
    dirname: path.join(__dirname, '/public/css')
  }),

As soon as I removed the file bootstrap.css.map from my /public/css directory, the problem was resolved and my pages loaded fine.

I would like to keep my source map files inside the directory. Is there any easy way to do 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

1 participant