Switch to VelocityJS for view transitions, slow down some transitions

This commit is contained in:
Tautvidas Sipavičius
2016-01-05 15:01:30 +02:00
parent 112fe0cd6e
commit c844488b0b
8 changed files with 82 additions and 38 deletions

View File

@@ -77,7 +77,11 @@ baseConfig = {
{
include: /html2canvas.js$/,
loader: 'expose-loader?html2canvas',
}
},
{
include: require.resolve('velocity-animate'),
loader: 'imports-loader?jQuery=jquery',
},
]
}
};
@@ -123,6 +127,7 @@ config.push(_.extend({}, baseConfig, {
'sticky-kit',
'blob',
'filesaver',
'velocity-animate',
'newsletter_editor/communicationsFix.js',
'newsletter_editor/App',