Add json-loader for moment-timezone.

This commit is contained in:
Drew Larson
2017-05-23 19:26:33 -06:00
parent d30373b22b
commit f502b9757f
+4
View File
@@ -41,6 +41,10 @@ config.module.loaders.push(
{
test: /(\.scss|\.css)$/,
loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox'),
},
{
test: /\.json$/,
loader: 'json-loader',
}
);