diff options
author | 2019-12-18 21:45:12 +0100 | |
---|---|---|
committer | 2020-02-04 20:36:30 +0100 | |
commit | 51e268c34ecfeb541c187f5a361c5c5baa76fbca (patch) | |
tree | 252ec4695f0069c4d6073ffcfc722e786091311a /webpack.config.js | |
parent | e54bb3ce8ee606fba0cb2ccf67d27cd41d614745 (diff) |
FUNCT Update launcher
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index 02ea4d1..9e80342 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -42,6 +42,11 @@ module.exports = { from: 'src/images/icons/*', to: 'images/icons/', flatten: true + }, + { + from: 'src/templates/*', + to: 'templates/', + flatten: true } ]), new HtmlWebpackPlugin({ @@ -78,6 +83,18 @@ module.exports = { ] }, { + test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/, + use: [ + { + loader: 'file-loader', + options: { + name: '[name].[ext]', + outputPath: 'fonts/' + } + } + ] + }, + { test: /\.(gif|png|jpe?g|svg)$/i, use: [ 'file-loader', |