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
If I grasped it right, the problem is that we check if the "currentFile.dirname" contains the "componentsFolderName" (in tasks/sass.js of biotope-build):
if (currentFile.dirname.indexOf(componentsFolderName) === 0)...
If you log "dirname" you can see that it only contains the direct folder, where the scss file is located. E.g. if there's a "main.scss" under "components/testComponent/", "dirname" is "testComponent".
Thus dirname does not contain "components" and the scss file doesn't get copied.
I'd gladly open up a PR with a fix, but I'm not aware of any possible parameters that contain the full path.
Expected behavior
Sass get's compiled if there's no underscore and it should trigger a build if there's no underscore
Actual behavior
In case you include it in resources, it works when saving the entrypoint file.
Steps to reproduce
src/components/<componentname>/styles.scss
npm start
check for a compiled file.Specifications
The text was updated successfully, but these errors were encountered: