Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
smparsons committed Oct 26, 2019
1 parent 4e7948a commit 91c743b
Show file tree
Hide file tree
Showing 21 changed files with 36 additions and 30 deletions.
6 changes: 3 additions & 3 deletions 404.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions 404/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions first-post/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions offline-plugin-app-shell-fallback/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion page-data/404.html/page-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentChunkName":"component---src-pages-404-tsx","path":"/404.html","webpackCompilationHash":"138a4d8580bc4ab100c5","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder"}}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
{"componentChunkName":"component---src-pages-404-tsx","path":"/404.html","webpackCompilationHash":"26cf1026b664818dab0a","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder"}}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
2 changes: 1 addition & 1 deletion page-data/404/page-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentChunkName":"component---src-pages-404-tsx","path":"/404/","webpackCompilationHash":"138a4d8580bc4ab100c5","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder"}}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
{"componentChunkName":"component---src-pages-404-tsx","path":"/404/","webpackCompilationHash":"26cf1026b664818dab0a","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder"}}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
2 changes: 1 addition & 1 deletion page-data/dev-404-page/page-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentChunkName":"component---cache-dev-404-page-js","path":"/dev-404-page/","webpackCompilationHash":"217aa2ad5245518fb7a3","result":{"data":{"allSitePage":{"nodes":[{"path":"/what-are-source-maps/"},{"path":"/first-post/"},{"path":"/404/"},{"path":"/"},{"path":"/404.html"}]}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
{"componentChunkName":"component---cache-dev-404-page-js","path":"/dev-404-page/","webpackCompilationHash":"32b8c3f04657bea8e0c7","result":{"data":{"allSitePage":{"nodes":[{"path":"/what-are-source-maps/"},{"path":"/first-post/"},{"path":"/404/"},{"path":"/"},{"path":"/404.html"}]}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
2 changes: 1 addition & 1 deletion page-data/first-post/page-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentChunkName":"component---src-templates-blog-post-tsx","path":"/first-post/","webpackCompilationHash":"138a4d8580bc4ab100c5","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder","author":"Samuel Parsons"}},"markdownRemark":{"id":"0c2dd495-5924-5e0d-8164-a2dd8f72bde3","excerpt":"This is the first post on my blog! As a web developer, I wanted to create a blog that will\ncover a variety of different coding topics. I am excited to start…","html":"<p>This is the first post on my blog! As a web developer, I wanted to create a blog that will\ncover a variety of different coding topics. I am excited to start creating some content, and\nI hope it will be useful to other developers who read it. If you’re interested, come back\nsoon! More content will be coming in the near future.</p>","frontmatter":{"title":"First Post","date":"October 09, 2019","description":""}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/first-post/","previous":null,"next":{"fields":{"slug":"/what-are-source-maps/"},"frontmatter":{"title":"What are Source Maps?"}}}}}
{"componentChunkName":"component---src-templates-blog-post-tsx","path":"/first-post/","webpackCompilationHash":"26cf1026b664818dab0a","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder","author":"Samuel Parsons"}},"markdownRemark":{"id":"0c2dd495-5924-5e0d-8164-a2dd8f72bde3","excerpt":"This is the first post on my blog! As a web developer, I wanted to create a blog that will\ncover a variety of different coding topics. I am excited to start…","html":"<p>This is the first post on my blog! As a web developer, I wanted to create a blog that will\ncover a variety of different coding topics. I am excited to start creating some content, and\nI hope it will be useful to other developers who read it. If you’re interested, come back\nsoon! More content will be coming in the near future.</p>","frontmatter":{"title":"First Post","date":"October 09, 2019","description":""}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/first-post/","previous":null,"next":{"fields":{"slug":"/what-are-source-maps/"},"frontmatter":{"title":"What are Source Maps?"}}}}}
2 changes: 1 addition & 1 deletion page-data/index/page-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentChunkName":"component---src-pages-index-tsx","path":"/","webpackCompilationHash":"138a4d8580bc4ab100c5","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder"}},"allMarkdownRemark":{"edges":[{"node":{"excerpt":"Have you heard other web developers talk about source maps but never truly understood their purpose? Today I wanted to talk about what they…","fields":{"slug":"/what-are-source-maps/"},"frontmatter":{"date":"October 25, 2019","title":"What are Source Maps?","description":""}}},{"node":{"excerpt":"This is the first post on my blog! As a web developer, I wanted to create a blog that will\ncover a variety of different coding topics. I am…","fields":{"slug":"/first-post/"},"frontmatter":{"date":"October 09, 2019","title":"First Post","description":""}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
{"componentChunkName":"component---src-pages-index-tsx","path":"/","webpackCompilationHash":"26cf1026b664818dab0a","result":{"data":{"site":{"siteMetadata":{"title":"Sam the Coder"}},"allMarkdownRemark":{"edges":[{"node":{"excerpt":"Have you heard other web developers talk about source maps but never truly understood their purpose? Today I wanted to talk about what they…","fields":{"slug":"/what-are-source-maps/"},"frontmatter":{"date":"October 25, 2019","title":"What are Source Maps?","description":""}}},{"node":{"excerpt":"This is the first post on my blog! As a web developer, I wanted to create a blog that will\ncover a variety of different coding topics. I am…","fields":{"slug":"/first-post/"},"frontmatter":{"date":"October 09, 2019","title":"First Post","description":""}}}]}},"pageContext":{"isCreatedByStatefulCreatePages":true}}}
2 changes: 1 addition & 1 deletion page-data/offline-plugin-app-shell-fallback/page-data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"componentChunkName":"component---node-modules-gatsby-plugin-offline-app-shell-js","path":"/offline-plugin-app-shell-fallback/","webpackCompilationHash":"138a4d8580bc4ab100c5","result":{"pageContext":{"isCreatedByStatefulCreatePages":false}}}
{"componentChunkName":"component---node-modules-gatsby-plugin-offline-app-shell-js","path":"/offline-plugin-app-shell-fallback/","webpackCompilationHash":"26cf1026b664818dab0a","result":{"pageContext":{"isCreatedByStatefulCreatePages":false}}}
2 changes: 1 addition & 1 deletion page-data/what-are-source-maps/page-data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion rss.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sam the Coder]]></title><description><![CDATA[Sam's blog covering a variety of different software development topics.]]></description><link>https://www.samthecoder.com</link><generator>GatsbyJS</generator><lastBuildDate>Sat, 26 Oct 2019 20:45:54 GMT</lastBuildDate><item><title><![CDATA[What are Source Maps?]]></title><description><![CDATA[Have you heard other web developers talk about source maps but never truly understood their purpose? Today I wanted to talk about what they…]]></description><link>https://www.samthecoder.com/what-are-source-maps/</link><guid isPermaLink="false">https://www.samthecoder.com/what-are-source-maps/</guid><pubDate>Fri, 25 Oct 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Have you heard other web developers talk about &lt;em&gt;source maps&lt;/em&gt; but never truly understood their purpose? Today I wanted to talk about what they are and what we gain from utilizing source maps in our development workflow.&lt;/p&gt;
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Sam the Coder]]></title><description><![CDATA[Sam's blog covering a variety of different software development topics.]]></description><link>https://www.samthecoder.com</link><generator>GatsbyJS</generator><lastBuildDate>Sat, 26 Oct 2019 22:00:24 GMT</lastBuildDate><item><title><![CDATA[What are Source Maps?]]></title><description><![CDATA[Have you heard other web developers talk about source maps but never truly understood their purpose? Today I wanted to talk about what they…]]></description><link>https://www.samthecoder.com/what-are-source-maps/</link><guid isPermaLink="false">https://www.samthecoder.com/what-are-source-maps/</guid><pubDate>Fri, 25 Oct 2019 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;Have you heard other web developers talk about &lt;em&gt;source maps&lt;/em&gt; but never truly understood their purpose? Today I wanted to talk about what they are and what we gain from utilizing source maps in our development workflow.&lt;/p&gt;
&lt;p&gt;When you use a tool to generate an output file from a collection of source files, a &lt;em&gt;source map&lt;/em&gt; is a file that maps the generated output file back to the original source files. After this mapping is interpreted by the browser’s developer tools, the developer will be able to debug with the original source files instead of the generated one.&lt;/p&gt;
&lt;p&gt;For example, let’s assume for a moment that we have a minified JavaScript file. A minified JavaScript file is impossible to debug, and stack traces that result from errors occurring in a minified file are too cryptic to read. If you need to debug an error and you’re using a minified file, a source map will help. A source map will allow you to debug using the original JavaScript files. Similarly, you can utilize source maps for transpiled languages such as TypeScript or CoffeeScript. This would give you the ability to debug the TypeScript or CoffeeScript files in developer tools instead of the generated JavaScript file. You can even apply source maps to CSS. Source maps are commonly used with CSS Preprocessors such as SASS or LESS to make debugging styles easier.&lt;/p&gt;
&lt;h2&gt;But How do Source Maps Work?&lt;/h2&gt;
Expand Down
2 changes: 2 additions & 0 deletions styles-259d6bafc6a7a4eec034.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions styles-259d6bafc6a7a4eec034.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions styles-3efad5c3e9a7aec487f0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions styles-3efad5c3e9a7aec487f0.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 91c743b

Please sign in to comment.