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
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
15.x
Description
Extracting i18n is broken with certain libraries after upgrading to v16.
The issue appears to be in the sourcemap processing of the library, as deleting the libraries source map fixes the issue.
I tried upgrading the library to the latest v16 (npm i angular-calendar@next on the reproduction repo to try it) and confirmed the issue is still present so I think the issue must be fixed in the angular CLI itself (or in a dependency?)
Minimal Reproduction
git clone https://github.com/mattlewis92/angular-calendar-ng16-test.git
cd angular-calendar-ng16-test
npm i
npx ng extract-i18n
Exception or Error
mattlewis@Matts-MacBook-Pro-3 angular-calendar-ng16-test % npx ng extract-i18n
✔ Browser application bundle generation complete.
Initial Chunk Files | Names | Raw Size
main.js | main | 1.96 MB |
polyfills.js | polyfills | 120.30 kB |
runtime.js | runtime | 6.38 kB |
| Initial Total | 2.08 MB
Build at: 2023-06-21T12:35:46.006Z - Hash: 69af8508e517ec82 - Time: 2500ms
./node_modules/angular-calendar/fesm2020/angular-calendar.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/tools/babel/webpack-loader.js):
Error: /Users/mattlewis/Code/open-source/angular-calendar-ng16-test/node_modules/angular-calendar/fesm2020/angular-calendar.mjs: `column` must be greater than or equal to 0 (columns start
Command
extract-i18n
Is this a regression?
The previous version in which this bug was not present was
15.x
Description
Extracting i18n is broken with certain libraries after upgrading to v16.
The issue appears to be in the sourcemap processing of the library, as deleting the libraries source map fixes the issue.
I tried upgrading the library to the latest v16 (
npm i angular-calendar@next
on the reproduction repo to try it) and confirmed the issue is still present so I think the issue must be fixed in the angular CLI itself (or in a dependency?)Minimal Reproduction
Exception or Error
Your Environment
The text was updated successfully, but these errors were encountered: