npm install would in this case create a symlink called "sass" in node_modules/.bin/ folder and we could use "npx sass... " ssh script to build sass files.
With this setup the sass symlink will no longer be created. Apparently, this is caused by the new way of bundling sass-embedded with esbuild-sass-plugin plugin. We tried removing esbuild-sass-plugin from devDependencies and adding "sass-embedded": "^1.71.1" and the result is the same - sass symlink won't be created.
We would really love to upgrade to the new version of esbuild-sass-plugin but we cannot do this with the sass symlink gone missing.
After upgrading from 2.16.1 to 3.1.0, our npm scripts using sass symlink have stopped working.
After spending some time investigating the reason we came to the following conclusions.
Before upgrade we had the following dependencies in package.json:
npm install
would in this case create a symlink called "sass
" innode_modules/.bin/
folder and we could use "npx sass... " ssh script to build sass files.After upgrade we have the following:
With this setup the sass symlink will no longer be created. Apparently, this is caused by the new way of bundling
sass-embedded
withesbuild-sass-plugin
plugin. We tried removingesbuild-sass-plugin
fromdevDependencies
and adding"sass-embedded": "^1.71.1"
and the result is the same - sass symlink won't be created.We would really love to upgrade to the new version of
esbuild-sass-plugin
but we cannot do this with the sass symlink gone missing.Any advice would be highly appreciated.