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 fs = require('fs'); | |
const path = require('path'); | |
const buildPath = 'build/public'; | |
const csslint = require('csslint').CSSLint; | |
const buildCSSPath = | |
fs.readdirSync(buildPath) | |
.filter(f => f.indexOf('.css') > -1) |
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
var fs = require('fs'); | |
var path = require('path'); | |
// used deps | |
var inlineCSS = require('inline-css'); | |
var htmlMinify = require('html-minifier').minify; | |
// working paths | |
var projectFolder = path.resolve(__dirname, '../../'); | |
var workingFolder = path.join(projectFolder, 'build/emails/'); |
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
-Xms1024m | |
-Xmx1536m | |
-XX:ReservedCodeCacheSize=512m | |
-XX:+UseCompressedOops |
OlderNewer