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
TypeError: Cannot read properties of undefined (reading 'pop')
at Object.<anonymous> (/Users/path/to/node_modules/sass/sass.node.js:2:43)
It seems like its a problem with importing the package more than one time.
The setup here looks weird, but the reason is that the CJS file is our production build file, which we want to avoid doing experimental things with, and the esm file is our development build fill and I think this is a valid use case/bug.
This is for the npm version of sass - 1.63.4
I have an esm file like this:
other-file.js is a cjs file:
other-file throws an error:
It seems like its a problem with importing the package more than one time.
The setup here looks weird, but the reason is that the CJS file is our production build file, which we want to avoid doing experimental things with, and the esm file is our development build fill and I think this is a valid use case/bug.
reproducible stack-blitz: https://stackblitz.com/edit/stackblitz-starters-wm1r15?file=index.mjs
The text was updated successfully, but these errors were encountered: