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

Make sure hot-self-accept-loader cleans up the route correctly #4092

Merged

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Mar 31, 2018

Came across this while investigating #3894, this is important for users of next-typescript and people using .jsx.

When this is merged I'll update next-typescript. I've added the throw in the loader since we need everyone that's going to use Next 6 to upgrade next-typescript

@@ -177,15 +177,18 @@ export default async function getBaseWebpackConfig (dir, {dev = false, isServer
module: {
rules: [
dev && !isServer && {
test: /\.(js|jsx)(\?[^?]*)?$/,
test: /\.(js|jsx)$/,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also made sure these are consistent and simple.

@timneutkens timneutkens merged commit c3318d8 into vercel:canary Mar 31, 2018
@timneutkens timneutkens deleted the fix/hot-self-accept-extensions branch March 31, 2018 21:19
@lock lock bot locked as resolved and limited conversation to collaborators Mar 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant