我正在使用 React Starter 从以下 Git Repo 构建我的新应用程序: https ://github.com/alicoding/react-webpack-babel
出于某种原因,每次我在“index.scss”中有一个新类时,它都会生成奇怪的新类名。
例如,如果我将新类写为:
.container {
max-width:1000px;
}
它变成了这样的东西:
.src-style-___index__container___32Sga {
max-width: 1000px;
}
任何人都知道它为什么这样做?使用这种方法的正确方法是什么?或者如果我不想使用这种方法怎么办?
请注意。
谢谢,