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
This is a duplicate of #9636 and should be fixed in @angular-devkit/build-angular@0.7.0-beta.2. See angular/devkit#998 for some more information about this problem.
Versions
OS: macOS (High Sierra)
Repro steps
Example repository is an app with an external dependency sweetalert2
Example repo: https://github.com/miguskar/ng-example-app
Stackblitz of same repo: https://stackblitz.com/github/miguskar/ng-example-app
npm i
npm run build:sm // build with source maps
Observed behavior
An external JS package (sweetalert2) is breaking the build when building the app with sourcemaps enabled.
Desired behavior
The build should finish without error
Mention any other details that might be useful (optional)
Building the same project without sourcemaps works fine (
ng build --configuration=production --sourceMap=false
)The text was updated successfully, but these errors were encountered: