ReactJS-Projects | Amazing ReactJS Projects | User Interface library
kandi X-RAY | ReactJS-Projects Summary
kandi X-RAY | ReactJS-Projects Summary
This project was bootstrapped with Create React App.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ReactJS-Projects
ReactJS-Projects Key Features
ReactJS-Projects Examples and Code Snippets
Community Discussions
Trending Discussions on ReactJS-Projects
QUESTION
Ok, So basically We use webpack to bundle our resources before deployment. However, now we want to also bundle our sass files through webpack is it simplifies our build process.it was going well, but now bundle.js is too big to deploy on production so I wanted to split bundle.js and styling files. I don't much know about plugins and all ,so I searched a little bit and found that mini-css-extract-plugin lets me split style files into a new file. So I went and tweaked the web-pack.config file according to the docs of mini-css-extract-plugin but I am getting so many errors. Can somebody guide me to split styles file and extract it from bundle.js?
error :
...ANSWER
Answered 2020-Aug-23 at 06:04Ok, nevermind as Camilo suggested there was this "stye-loader" which was somehow conflicting to the plugin but anyway as I am separating CSS files I don't need inline CSS so I completely removed it from the loader and the error was completely gone and it gave me a new build with separate CSS file
Anyone, having the same problem in future just look for your loader whether its conflicting
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ReactJS-Projects
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page