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
I'm getting the following errors minifying and bundling Chart.js.
Severity Code Description Project File Line Suppression State
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 1841
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 1841
Error (Bundler & Minifier) Implicit property name must be identifier: stackWeight = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 3016
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 4253
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 7703
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 9866
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 10164
Error (Bundler & Minifier) Strict-mode does not allow duplicate property names: = D:\Users\jwood\source\repos\Railtrax\Pegasus\wwwroot\bundles\charts.min.js 10330
Issue 1
What exactly is the error? charts.min.js is the output filename so I'm not sure why the output file is the error. Could it be that it's already minified and there's an error during bundling? Why is it checking CSS syntax during bundling? Wouldn't that be checked during CSS minification?
NOTE: Because of these errors, no charts.min.js file is created. So it appears that I am unable to view the line that causes the error.
Issue 2
Does chart.js have invalid CSS? It's a very advanced and modern library. Seems to work fine until I pass it to Bundler & Minifier.
Installed product versions
Description
I'm getting the following errors minifying and bundling Chart.js.
Issue 1
What exactly is the error? charts.min.js is the output filename so I'm not sure why the output file is the error. Could it be that it's already minified and there's an error during bundling? Why is it checking CSS syntax during bundling? Wouldn't that be checked during CSS minification?
NOTE: Because of these errors, no charts.min.js file is created. So it appears that I am unable to view the line that causes the error.
Issue 2
Does chart.js have invalid CSS? It's a very advanced and modern library. Seems to work fine until I pass it to Bundler & Minifier.
Here's my bundleconfig.json file.
The text was updated successfully, but these errors were encountered: