From 24cffeee3793cd36cf11bf93d821683aec6035be Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Wed, 8 Nov 2017 11:31:46 -0800 Subject: [PATCH] fixed problem with production assets --- config/env/production.js | 8 ++--- package-lock.json | 65 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 4 deletions(-) diff --git a/config/env/production.js b/config/env/production.js index 6519fd73..1091e91e 100755 --- a/config/env/production.js +++ b/config/env/production.js @@ -28,9 +28,9 @@ module.exports = { domain: process.env.BASE_URL || '.tellform.com' }, assets: { - bower_js: 'public/dist/vendor.min.js', - css: 'public/dist/application.min.css', - js: 'public/dist/application.min.js', - form_js: 'public/dist/form-application.min.js' + bower_js: ['public/dist/vendor.min.js'], + css: ['public/dist/application.min.css'], + js: ['public/dist/application.min.js', 'public/dist/populate_template_cache.js'], + form_js: ['public/dist/form-application.min.js', 'public/dist/form_populate_template_cache.js'] } }; diff --git a/package-lock.json b/package-lock.json index 413892bd..fcb91c18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6261,6 +6261,14 @@ "jade": "1.11.0" } }, + "grunt-i18nlint": { + "version": "github:jwarby/grunt-i18nlint#6b398f775c8ca881a16f45a3cb94c5b79ee11e20", + "dev": true, + "requires": { + "chalk": "1.1.3", + "i18n-lint": "git://github.com/jwarby/i18n-lint.git#0a06373c0d880047ad680239c103d60ed414efc1" + } + }, "grunt-karma": { "version": "0.12.2", "resolved": "https://registry.npmjs.org/grunt-karma/-/grunt-karma-0.12.2.tgz", @@ -6881,6 +6889,48 @@ "sprintf-js": "1.1.1" } }, + "i18n-lint": { + "version": "git://github.com/jwarby/i18n-lint.git#0a06373c0d880047ad680239c103d60ed414efc1", + "dev": true, + "requires": { + "chalk": "1.1.3", + "commander": "2.8.1", + "glob": "5.0.15", + "htmlparser2": "3.8.3", + "lodash": "3.10.1", + "node.extend": "1.1.6" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", + "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", + "dev": true, + "requires": { + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "lodash": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", + "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "1.1.8" + } + } + } + }, "iconv-lite": { "version": "0.2.11", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.2.11.tgz", @@ -7065,6 +7115,12 @@ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.0.5.tgz", "integrity": "sha1-X6eM8wG4JceKvDBC2BJyMEnqI8c=" }, + "is": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is/-/is-3.2.1.tgz", + "integrity": "sha1-0Kwq1V63sL7JJqUmb2xmKqqD3KU=", + "dev": true + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -9174,6 +9230,15 @@ "resolved": "https://registry.npmjs.org/nocache/-/nocache-2.0.0.tgz", "integrity": "sha1-ICtIAhoMTL3i34DeFaF0Q8i0OYA=" }, + "node.extend": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/node.extend/-/node.extend-1.1.6.tgz", + "integrity": "sha1-p7iCyC1sk6SGOlUEvV3o7IYli5Y=", + "dev": true, + "requires": { + "is": "3.2.1" + } + }, "nodemailer": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-4.0.1.tgz",