-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Missing context in minify errors #9852
Comments
* Remove usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
OK, so with the long detour improving the error handling here, it pointed me to this part: <dd>The output format.
One of: <code>iife</code>, <code>cjs</code>, <code>esm</code>.
Default is <code>iife</code>, a self-executing function, suitable for inclusion as a <script> tag.</dd>
<dt>sourceMap</dt>
<dd>Whether to generate source maps. Enum, currently only <code>inline</code> (we will improve that).</dd>
</dl> Which got my memory back to where I enabled |
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
* Add file context to minifier errors when publishing * Misc fixes (see issues) To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
* Add file context to minifier errors when publishing * Misc fixes (see issues) To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
* Add file context to minifier errors when publishing * Misc fixes (see issues) To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Here's one I have no idea where to even look:
The text was updated successfully, but these errors were encountered: