From 9d301349ab434dc744546918fe026d50485a0797 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 24 Apr 2017 00:53:41 -0700 Subject: [feat] usable vpn ui --- ui/webpack.config.js | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'ui/webpack.config.js') diff --git a/ui/webpack.config.js b/ui/webpack.config.js index 786addd0..1f969026 100644 --- a/ui/webpack.config.js +++ b/ui/webpack.config.js @@ -31,6 +31,30 @@ var config = { { test: /\.less$/, loader: "style!css!less?noIeCompat" + }, + { + test: /\.png$/, + loader: "file-loader" + }, + { + test: /\.jpg$/, + loader: "file-loader" + }, + { + test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/, + loader: 'file-loader' + }, + { + test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, + loader: 'file-loader' + }, + { + test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, + loader: 'file-loader' + }, + { + test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, + loader: 'file-loader' } ] }, @@ -50,12 +74,8 @@ var config = { // For more information: https://github.com/kevlened/copy-webpack-plugin // new CopyWebpackPlugin([ - { from: 'css/*.css' }, { from: 'img/*'}, { from: 'index.html' }, - { from: '../node_modules/bootstrap/dist/css/bootstrap.min.css', to: 'css' }, - { from: '../node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2', to: 'fonts' }, - { from: '../node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff', to: 'fonts' }, { from: '../node_modules/zxcvbn/dist/zxcvbn.js', to: 'js' } ]) ], -- cgit v1.2.3