cotton123236 / zoomist

Zoomist is a library built with TypeScript that allows you to create zoom elements on website quickly and easily.
https://zoomist.vercel.app/
MIT License
104 stars 23 forks source link

Issue with Angular v17 #41

Closed dongwubaohuzhe closed 7 months ago

dongwubaohuzhe commented 7 months ago

After Angular update to V17, the current version of Zoomist ("zoomist": "^1.1.1") throws following error during build:

./node_modules/zoomist/src/scss/index.scss?ngGlobalStyle:1:0 - Error: Module parse failed: Unexpected token (1:0) File was processed with these loaders:

Using the newer version of Zoomist 2 ("zoomist": "^2.0.11" ) resolves the above issue, but throws up a different error during build:

Error: Can't resolve 'node_modules/zoomist/src/scss/index.scss'

dongwubaohuzhe commented 7 months ago

Resolved! angular.json had reference to style "node_modules/zoomist/src/scss/index.scss", changed that to “"node_modules/zoomist/zoomist.css". Angular app now compiles with Zoomist 2