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
{{ message }}
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
importReactfrom"react";importsfrom"./Empty.scss";/** * Main React application entry-point for both the server and client. */classEmptyextendsReact.Component{/** * Runs on server and client. */render(){return(<divclassName="{s.test}"id="test2">
Allo
</div>);}}
Empty.scss
.test{
border: 1px;}
Those two configs gave me for each scss files i have in ./src, a corresponding scssJS file.
My questions are
1 - How can I just want to see in my console source files(i.e Chrome Dev Tools), my scss sources files instead of those JS files that "serves" my scss.
2 - Why the HTML thats being renderer doesn't contain the class as per the JSX just written up above.
The text was updated successfully, but these errors were encountered:
did you get it working @manodupont ? I attempted the same thing but get:
Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I modified a bit of whats already in there.
So i wanted to simply add scss import file. SO i used differentes style-loader.
So my config goes as this :
webpack.client.js
webpack.server.js
test.jsx
Empty.scss
Those two configs gave me for each scss files i have in ./src, a corresponding scssJS file.
My questions are
1 - How can I just want to see in my console source files(i.e Chrome Dev Tools), my scss sources files instead of those JS files that "serves" my scss.
2 - Why the HTML thats being renderer doesn't contain the class as per the JSX just written up above.
The text was updated successfully, but these errors were encountered: