diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-10-09 23:12:15 -0700 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2018-10-09 23:12:15 -0700 |
commit | ca2b211a0c33f6249d6ae5480b481fd5305e8ce9 (patch) | |
tree | c395d3f66f4dcf6a4ee849c7ec997c6908f61a80 | |
parent | 13f4d9e862ce7822211c9295281f0ccd832c3646 (diff) |
Load .example.html with raw-loader in prod
-rw-r--r-- | presentation/config/webpack.config.prod.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/presentation/config/webpack.config.prod.js b/presentation/config/webpack.config.prod.js index d65529c..d9512d4 100644 --- a/presentation/config/webpack.config.prod.js +++ b/presentation/config/webpack.config.prod.js @@ -141,7 +141,7 @@ module.exports = { } }, { - test: /\.example\.js$/, + test: [/\.example\.js$/, /\.example\.html$/], loader: require.resolve('raw-loader') }, // Process JS with Babel. |