From 801222a7aad01738e6c29035938d5f9cc8354061 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 11 May 2020 16:25:21 +0200 Subject: New kvision-react module, with support for using React components in KVision apps --- kvision-modules/kvision-react/webpack.config.d/bootstrap.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 kvision-modules/kvision-react/webpack.config.d/bootstrap.js (limited to 'kvision-modules/kvision-react/webpack.config.d/bootstrap.js') diff --git a/kvision-modules/kvision-react/webpack.config.d/bootstrap.js b/kvision-modules/kvision-react/webpack.config.d/bootstrap.js new file mode 100644 index 00000000..35b28e6a --- /dev/null +++ b/kvision-modules/kvision-react/webpack.config.d/bootstrap.js @@ -0,0 +1,3 @@ +config.module.rules.push({test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader?limit=10000&mimetype=application/font-woff'}); +config.module.rules.push({test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader?limit=10000&mimetype=application/octet-stream'}); +config.module.rules.push({test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: 'file-loader'}); -- cgit