From f502b9757f41c962b0d6a7f5dd654e8dff7208f3 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Sat, 14 Jan 2017 13:43:38 -0600 Subject: [PATCH] Add json-loader for moment-timezone. --- bikeshop_project/webpack.dev.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bikeshop_project/webpack.dev.config.js b/bikeshop_project/webpack.dev.config.js index 370bb5d..f5e5dcd 100644 --- a/bikeshop_project/webpack.dev.config.js +++ b/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', } );