diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-01-29 21:03:34 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-01-29 21:03:34 +0100 |
commit | 2c7ca3f8808935fc0c56458dca54f7bf417141f7 (patch) | |
tree | 68d02115d3cc0467f825560f2b65a9591e5d78bc /examples/showcase/webpack.config.d/bootstrap.js | |
parent | b43764a2088912162ed5e8df2f6da7d2598fb1a3 (diff) | |
download | kvision-2c7ca3f8808935fc0c56458dca54f7bf417141f7.tar.gz kvision-2c7ca3f8808935fc0c56458dca54f7bf417141f7.tar.bz2 kvision-2c7ca3f8808935fc0c56458dca54f7bf417141f7.zip |
Showcase example
Diffstat (limited to 'examples/showcase/webpack.config.d/bootstrap.js')
-rw-r--r-- | examples/showcase/webpack.config.d/bootstrap.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/showcase/webpack.config.d/bootstrap.js b/examples/showcase/webpack.config.d/bootstrap.js new file mode 100644 index 00000000..32a7c4d0 --- /dev/null +++ b/examples/showcase/webpack.config.d/bootstrap.js @@ -0,0 +1,4 @@ +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'}); +config.module.rules.push({test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: 'url-loader?limit=10000&mimetype=image/svg+xml'}); |