Skip to content

Instantly share code, notes, and snippets.

View ekoeryanto's full-sized avatar

Eko Eryanto ekoeryanto

View GitHub Profile
// https://www.netlify.com/blog/2017/07/18/http/2-server-push-on-netlify/
const debug = require('debug')('nuxt:netlify-http2-server-push');
const path = require('path');
const glob = require('glob');
const fs = require('fs');
module.exports = function module(moduleOptions) {
// This module is only enabled on production builds
if (this.options.dev) {