从创建React库软件包中导入SCSS
我已经创建了一个来自Create-React-Library Project的NPM软件包。
我想在软件包中有一个scss文件,以便我可以在其他项目中导入它(要包含在.tgz文件中)
如何编辑此项目配置以包括SCSS文件?
I have created a npm package from create-react-library project.
I want to have a scss file in the package so i can import it in a different project( to be included in the .tgz file)
How a can edit this project config to include scss file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您必须使用NPM
秒安装SASS,您可以将SASS文件导入componenfile.js
好运
First, you must install sass with npm
Second, you can import your sass file to componenFile.js
Good luck