aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-upload/webpack.config.d/file.js
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-06-23 11:53:59 +0200
committerRobert Jaros <rjaros@finn.pl>2019-06-23 11:53:59 +0200
commit632a68c1c70b571ff4a75c14918f00adbf3cd5a0 (patch)
treeaa8b2042b0d9cbe87d54c95de0dde549a9b9ba78 /kvision-modules/kvision-upload/webpack.config.d/file.js
parent72ef5f4fde6945e53a60cd5ac49437034ebcbd15 (diff)
downloadkvision-632a68c1c70b571ff4a75c14918f00adbf3cd5a0.tar.gz
kvision-632a68c1c70b571ff4a75c14918f00adbf3cd5a0.tar.bz2
kvision-632a68c1c70b571ff4a75c14918f00adbf3cd5a0.zip
Fix tests.
Diffstat (limited to 'kvision-modules/kvision-upload/webpack.config.d/file.js')
-rw-r--r--kvision-modules/kvision-upload/webpack.config.d/file.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/kvision-modules/kvision-upload/webpack.config.d/file.js b/kvision-modules/kvision-upload/webpack.config.d/file.js
new file mode 100644
index 00000000..a5c7b5da
--- /dev/null
+++ b/kvision-modules/kvision-upload/webpack.config.d/file.js
@@ -0,0 +1,6 @@
+config.module.rules.push(
+ {
+ test: /\.(jpe?g|png|gif)$/i,
+ loader: 'file-loader'
+ }
+); \ No newline at end of file