mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Basic functionality for locale change. Draft implementation of tools for working with i18n
This commit is contained in:
@@ -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)$/,
|
||||
|
Reference in New Issue
Block a user