ssr-react | Frontend Framework library
kandi X-RAY | ssr-react Summary
kandi X-RAY | ssr-react Summary
ssr-react
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 ssr-react
ssr-react Key Features
ssr-react Examples and Code Snippets
Community Discussions
Trending Discussions on ssr-react
QUESTION
Update: added source full repo here: https://github.com/jayliew/ssr-cra-graphql
Context: This is a create-react-app using server-side-rendering. Related to this issue is my attempt to get this build process (webpack?) to not choke on using a third party npm module's .less file.
This is the error I get with yarn build
:
ANSWER
Answered 2020-Dec-25 at 17:59I've tested your repo then I found out a few things needing fixed to make it running. Back to above error, the error is from setting up file-loader
which no test rule which is likely to match all file types excluding [/\.js$/, /\.html$/, /\.json$/]
but contains css
, then css
files have been passed to css
rule where the error got occurred.
In short, the file-loader
should match assets file such as: images/fonts/... but not css file. So as long as set the test
files right, it would build successfully:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ssr-react
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