ssr-cra-graphql | Server Side Rendering + Create-React-App + Apollo GraphQL | GraphQL library
kandi X-RAY | ssr-cra-graphql Summary
kandi X-RAY | ssr-cra-graphql Summary
Server Side Rendering + Create-React-App + Apollo GraphQL Client
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Register new SWF service
- Checks if we re reload a service
- Unregister the service .
ssr-cra-graphql Key Features
ssr-cra-graphql Examples and Code Snippets
Community Discussions
Trending Discussions on ssr-cra-graphql
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-cra-graphql
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