Basic functionality for locale change. Draft implementation of tools for working with i18n

This commit is contained in:
SleepWalker
2016-05-08 22:28:51 +03:00
parent 8db3c36261
commit 4f5f18d787
18 changed files with 491 additions and 108 deletions

View File

@@ -156,15 +156,26 @@ var webpackConfig = {
},
{
test: /\.json$/,
exclude: /intl\.json/,
loader: 'json'
},
{
test: /\.html$/,
loader: 'html'
},
{
test: /\.intl\.json$/,
loader: 'babel!intl-loader!json'
}
]
},
resolveLoader: {
alias: {
'intl-loader': path.resolve('./webpack/intl-loader')
}
},
sassLoader: {
importer: iconfontImporter({
test: /\.font.(js|json)$/,