Comments (4)
Thanks for taking the time to create an issue!
I think the problem might be coming from Critical and not from Twelvety but I will investigate some more. Would you be able to share your repository with me?
from twelvety.
I'll share the repo shortly.
I found a workaround that gets the build building.
Before, I was linking to the stylesheet as:
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/6984932/6762612/css/fonts.css" />
Removing some of the properties that identify it as CSS appear to serve as a workaround:
<link href="https://cloud.typography.com/6984932/6762612/css/fonts.css" />
from twelvety.
So this is actually unrelated to Twelvety, as you said the error is because Critical is trying to parse this 403 response:
An error (403 Forbidden) has occurred in response to this request.
You could either disable Twelvety's critical
transform by commenting out line 9 of utils/transforms.js
or you could find a way of configuring Critical so that it ignores that URL.
If you go down the second route, Critical has a request
option which you can use to configure got. If the external stylesheet is returning a 403 because there isn't a referrer header, you might be able to set that header using the request
option.
from twelvety.
I'll look into it & report back. Thank you for your assistance.
from twelvety.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twelvety.