parcel-static-template icon indicating copy to clipboard operation
parcel-static-template copied to clipboard

Email obfuscation breaks production builds

Open pugson opened this issue 4 years ago • 0 comments

$ NODE_ENV=production node ./tools/image-optimizer.js && node ./tools/webp-converter.js && parcel build ./src/*.html --no-source-maps --public-url ./
🚨  /Users/pugson/Sites/thinko-animation-studio-web/src/about.html: tree.forEach is not a function
    at collapseWhitespace (/Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:24:10)
    at /Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:32:28
    at Array.forEach (<anonymous>)
    at collapseWhitespace (/Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:24:10)
    at /Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:32:28
    at Array.forEach (<anonymous>)
    at collapseWhitespace (/Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:24:10)
    at /Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:32:28
    at Array.forEach (<anonymous>)
    at collapseWhitespace (/Users/pugson/Sites/thinko-animation-studio-web/node_modules/htmlnano/lib/modules/collapseWhitespace.js:24:10)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

pugson avatar Sep 30 '19 20:09 pugson