Improve scripts load system

This commit is contained in:
RainLoop Team 2016-05-20 03:04:15 +03:00
parent 58b9eed8e8
commit 72bf212f67
39 changed files with 916 additions and 411 deletions

View file

@ -32,6 +32,10 @@ module.exports = {
},
module: {
loaders: [
{
test: /\.html$/,
loader: 'raw'
},
{
test: /\.jsx$/,
loader: 'babel',
@ -49,7 +53,7 @@ module.exports = {
'JSON': 'window.JSON',
'JSEncrypt': 'window.JSEncrypt',
'$LAB': 'window.$LAB',
'progressJs': 'window.rainloopProgressJs',
'progressJs': 'window.progressJs',
'queue': 'window.queue',
'moment': 'window.moment',
'ifvisible': 'window.ifvisible',