From 632a68c1c70b571ff4a75c14918f00adbf3cd5a0 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 23 Jun 2019 11:53:59 +0200 Subject: Fix tests. --- kvision-modules/kvision-upload/webpack.config.d/css.js | 2 ++ kvision-modules/kvision-upload/webpack.config.d/file.js | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 kvision-modules/kvision-upload/webpack.config.d/css.js create mode 100644 kvision-modules/kvision-upload/webpack.config.d/file.js (limited to 'kvision-modules/kvision-upload/webpack.config.d') 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 -- cgit