diff --git a/app/templates/Dynamic/Elements/Image/Elements/ElementImage.ss b/app/templates/Dynamic/Elements/Image/Elements/ElementImage.ss
index 4522446..71d255f 100644
--- a/app/templates/Dynamic/Elements/Image/Elements/ElementImage.ss
+++ b/app/templates/Dynamic/Elements/Image/Elements/ElementImage.ss
@@ -1,6 +1,6 @@
<% if $ImageResized %>
- <% if $ImageLink %>
<% end_if %>
+ <% if $ImageLink %><% end_if %>
<% if $ImageLink %>
-
+
$ImageLink.Title
diff --git a/app/templates/Includes/MetaHead.ss b/app/templates/Includes/MetaHead.ss
index 5408a9d..4b9405b 100644
--- a/app/templates/Includes/MetaHead.ss
+++ b/app/templates/Includes/MetaHead.ss
@@ -11,10 +11,15 @@ $MetaTags
+
<% if $MetaTitle %>
-
+
+<% else %>
+
+
<% end_if %>
+
<% if $MetaDescription %>
<% end_if %>
diff --git a/app/templates/Includes/Prestyling.ss b/app/templates/Includes/Prestyling.ss
index bd58bae..3031512 100644
--- a/app/templates/Includes/Prestyling.ss
+++ b/app/templates/Includes/Prestyling.ss
@@ -1,4 +1,4 @@
diff --git a/package.json b/package.json
index 73f5538..783911e 100755
--- a/package.json
+++ b/package.json
@@ -72,6 +72,7 @@
"font-awesome": "^4.7.0",
"foundation-emails": "^2.2.1",
"gijgo": "^1.9.13",
+ "hard-source-webpack-plugin": "^0.13.1",
"html-webpack-plugin": "^4.0.0-beta.11",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^6.0.0",
@@ -84,6 +85,7 @@
"jquery-zoom": "^1.7.21",
"jquery.appear": "^1.0.1",
"laravel-mix": "^4.1.2",
+ "loglevel": "^1.6.7",
"lost": "^8.3.1",
"mapbox-gl": "^1.6.1",
"material-design-color": "^2.3.2",
diff --git a/webpack.config.common.js b/webpack.config.common.js
index 7fc98fb..09a6ded 100755
--- a/webpack.config.common.js
+++ b/webpack.config.common.js
@@ -6,6 +6,7 @@ const webpack = require('webpack');
const commonVariables = require('./webpack.configuration');
const conf = commonVariables.configuration;
+const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');
const path = require('path');
const filesystem = require('fs');
@@ -123,10 +124,12 @@ module.exports = {
['@babel/transform-react-jsx'],
['react-hot-loader/babel'],
],
+ cacheDirectory: true,
+ cacheCompression: false,
},
},
},
- {
+ /*{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
@@ -134,7 +137,7 @@ module.exports = {
{
test: /\.coffee?$/,
use: 'coffee-loader',
- },
+ },*/
{
test: /\.worker\.js$/,
use: {
@@ -168,5 +171,6 @@ module.exports = {
Scrollspy: 'exports-loader?Scrollspy!bootstrap/js/dist/scrollspy',
Tab: 'exports-loader?Tab!bootstrap/js/dist/tab',
}),
+ new HardSourceWebpackPlugin(),
],
};