Skip to content

Using / in output.filename no longer works #145

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

Closed
SpaceK33z opened this issue Oct 31, 2016 · 1 comment
Closed

Using / in output.filename no longer works #145

SpaceK33z opened this issue Oct 31, 2016 · 1 comment

Comments

@SpaceK33z
Copy link
Member

Originally from webpack/webpack-dev-server#670 - @ibufu

Previously, using a / in output.filename worked:

output: {
        path: path.resolve(__dirname, "dist"),
        filename: '/[name].js'
},

Now it returns a 404.

This probably broke when the GetFilenameFromUrl method was refactored. Should add an extra test for this.

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

No branches or pull requests

1 participant