Closed AlexandrChazov closed 8 months ago
ah yeah that's a bug, I'm not sure why it doesn't copy all files, it should include the 2 files starting with underscore as well. It works in my other repo,
https://github.com/6pac/SlickGrid/blob/13f69c4e569e69354fbb379ffa673ade29505173/package.json#L65
oh wait, it seems that I'm not using the npm script but rather the external script from build.mjs
and it looks like I excluded them from the build, I'm not sure why I've done that, it's an error from my part
should be fixed in v5.8.3
Thanks a lot for fixing! It works now.
Describe the bug
Hello, I use "slickgrid" in "react" and unstalled it with "npm" When I try to import styles following the migration guide
@import 'node_modules/slickgrid/dist/styles/sass/slick-alpine-theme.scss';
I receive SassError: "Can't find stylesheet to import". After opening file "node_modules/slickgrid/dist/styles/sass/slick-alpine-theme.scss" I noticed lack of files "mixins.scss" and "variables.scss" in the "sass" folder which it tries to import. As a workaround I can import styles from the "src" folder@import "node_modules/slickgrid/src/styles/slick-alpine-theme.scss"
But I'm not sure whether it's correct.Reproduction
npm install slickgrid in "index.scss" file try to import styles @import 'node_modules/slickgrid/dist/styles/sass/slick-alpine-theme.scss';
Which Framework are you using?
React
Environment Info
Validations