aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-upload
diff options
context:
space:
mode:
authorRobbie Cronin <robert.cronin@uqconnect.edu.au>2019-06-26 12:42:55 +0800
committerGitHub <noreply@github.com>2019-06-26 12:42:55 +0800
commitd20bc8739b1ad58c1222d63258f01ef9e9d34064 (patch)
tree078b87746de4a305452224de39272529def43679 /kvision-modules/kvision-upload
parent97d136f14f086cf457453f1c94da1ecdae835234 (diff)
parent1f5742bebbafbe20a9d7527794798db7ebe5ab98 (diff)
downloadkvision-d20bc8739b1ad58c1222d63258f01ef9e9d34064.tar.gz
kvision-d20bc8739b1ad58c1222d63258f01ef9e9d34064.tar.bz2
kvision-d20bc8739b1ad58c1222d63258f01ef9e9d34064.zip
Merge pull request #2 from rjaros/master
pull version 0.0.37
Diffstat (limited to 'kvision-modules/kvision-upload')
-rw-r--r--kvision-modules/kvision-upload/webpack.config.d/css.js2
-rw-r--r--kvision-modules/kvision-upload/webpack.config.d/file.js6
2 files changed, 8 insertions, 0 deletions
diff --git a/kvision-modules/kvision-upload/webpack.config.d/css.js b/kvision-modules/kvision-upload/webpack.config.d/css.js
new file mode 100644
index 00000000..5d710d35
--- /dev/null
+++ b/kvision-modules/kvision-upload/webpack.config.d/css.js
@@ -0,0 +1,2 @@
+config.module.rules.push({ test: /\.css$/, loader: "style-loader!css-loader" });
+
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