This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //const webpack = require("webpack"); | |
| const _ = require("lodash"); | |
| const BundleAnalyzerPlugin = require("webpack-bundle-analyzer").BundleAnalyzerPlugin; | |
| const path = require("path"); | |
| const Promise = require("bluebird"); | |
| const createPaginatedPostsPages = require("./gatsby-actions/createPaginatedPostsPages.js"); | |
| const { createFilePath } = require(`gatsby-source-filesystem`); | |
| exports.onCreateNode = ({ node, getNode, boundActionCreators }) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import webpack from 'webpack'; | |
| import React, { Component } from 'react'; | |
| import { reloadRoutes } from 'react-static/node'; | |
| import jdown from 'jdown'; | |
| import chokidar from 'chokidar'; | |
| import path, { dirname } from 'path'; | |
| import RSS from 'rss'; | |
| import fs from 'fs'; | |
| var isDev = process.env.REACT_STATIC_ENV === 'development'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 7a8 | |
| > <link rel="preload" as="script" href="/bootstrap.474eaeba.js"> | |
| 9,16c10,13 | |
| < "/templates/styles.65f7d673.js"> | |
| < <link rel="preload" as="script" href= | |
| < "/templates/vendors~main.6810fa37.js"> | |
| < <link rel="preload" as="script" href="/main.b47b78f3.js"> | |
| < <link rel="preload" as="script" href= | |
| < "/templates/src/containers/Home.e0dd5fbb.js"> | |
| < <link rel="preload" as="style" href="/styles.65f7d673.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta name="generator" content= | |
| "HTML Tidy for HTML5 for Linux version 5.6.0"> | |
| <meta charset="UTF-8"> | |
| <title data-react-helmet="true"></title> | |
| <link rel="preload" as="script" href= | |
| "/templates/styles.65f7d673.js"> | |
| <link rel="preload" as="script" href= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta name="generator" content= | |
| "HTML Tidy for HTML5 for Linux version 5.6.0"> | |
| <meta charset="UTF-8"> | |
| <title data-react-helmet="true"></title> | |
| <link rel="preload" as="script" href="/bootstrap.474eaeba.js"> | |
| <link rel="preload" as="script" href= | |
| "/templates/src/containers/Home.07880ce7.js"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html lang="en-US" class="gr__localhost"> | |
| <head> | |
| <title data-react-helmet="true"></title> | |
| <link rel="preload" as="script" href="/bootstrap.474eaeba.js"> | |
| <link rel="preload" as="script" href="/templates/src/containers/About.393ad3ad.js"> | |
| <link rel="preload" as="script" href="/main.0a31866b.js"> | |
| <link rel="preload" as="style" href="/styles.48985e8e.css"> | |
| <link rel="stylesheet" href="/styles.48985e8e.css"> | |
| <meta charset="UTF-8"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - await poolAll( | |
| + await Promise.all( | |
| config.routes.map(route => async () => { | |
| + /* eslint-disable no-debugger */ | |
| + debugger | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <title data-react-helmet="true"></title> | |
| <link rel="preload" as="script" href="/main.7e57ceeb.js" /> | |
| <meta charSet="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" /> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Building algolia | |
| Building animated-routes | |
| Building apollo | |
| Building apollo-redux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "scripts": { | |
| "debug": "node --inspect --inspect-brk ./node_modules/webpack/bin/webpack.js", | |
| "prod:debug": "npm run debug -- --env.mode production", | |
| "dev:debug": "npm run debug -- --env.mode development" | |
| }, |