Angular Webpack Example Broken in 19 #2045
Labels
area-bundlers
Related to the bundler plugins like webpack and vite
area-core
Related to some core parts of alphaTab
platform-javascript
Related to the JavaScript version of alphaTab
state-accepted
This is a valid topic to work on.
Is there an existing issue for this?
Current Behavior
Angular webpack example is outdated and doesn't work for Angular 19.
Expected Behavior
I'm guessing there as a breaking change in angular-builders/custom-webpack
Steps To Reproduce
Clone the project: https://github.com/CoderLine/alphaTabSamplesWeb/tree/main/src/webpack-angular/src
Update to angular 19
results of ng build:
[error] ReferenceError: require is not defined at file:///home/xentropy/src/alphaTabSamplesWeb/src/webpack-angular/node_modules/@coderline/alphatab/dist/alphaTab.webpack.js:51:10 at ModuleJobSync.runSync (node:internal/modules/esm/module_job:399:35) at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:383:47) at loadESMFromCJS (node:internal/modules/cjs/loader:1565:24) at Module._compile (node:internal/modules/cjs/loader:1716:5) at Object..js (node:internal/modules/cjs/loader:1899:10) at Module.load (node:internal/modules/cjs/loader:1469:32) at Function._load (node:internal/modules/cjs/loader:1286:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
Link to jsFiddle, CodePen, Project
No response
Version and Environment
Platform
Web
Anything else?
No response
The text was updated successfully, but these errors were encountered: