You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.
The plugin only looks for .next/serverless/pages/*.js files.
Actual Behavior
The plugin picks up every file in .next/serverless/pages, including *.js.map files.
Steps to Reproduce the Problem
Simply running a build with the latest version of next should suffice.
I do have a few custom settings in my webpack config but none of them have to do with sourcemapping, which as far as I know is enabled by default in nextjs.
Specifications
Version: 3.0.0
Platform: Darwin
Subsystem: n/a
The text was updated successfully, but these errors were encountered:
I guess the sourcemaps aren't really needed for the serverside rendered pages, but it's kind of a hard thing to turn off conditionally from the webpack config.
Also, I don't think it can hurt to make this plugin only look for *.js files instead of grabbing all files in the pages dir.
If you agree, then I won't mind opening a PR that implements this.
So we would like to upload also the source maps, which is a nice to have! If you want to give it a shot, please go a ahead! Let me know if you have any questions
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue
Expected Behavior
The plugin only looks for
.next/serverless/pages/*.js
files.Actual Behavior
The plugin picks up every file in
.next/serverless/pages
, including*.js.map
files.Steps to Reproduce the Problem
Simply running a build with the latest version of next should suffice.
I do have a few custom settings in my webpack config but none of them have to do with sourcemapping, which as far as I know is enabled by default in nextjs.
Specifications
The text was updated successfully, but these errors were encountered: