Browse Source

Add json-loader for moment-timezone.

feature/bike-tracking
Drew Larson 7 years ago
parent
commit
f502b9757f
  1. 4
      bikeshop_project/webpack.dev.config.js

4
bikeshop_project/webpack.dev.config.js

@ -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',
}
);

Loading…
Cancel
Save