aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 6b15f00..483e600 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -8,13 +8,14 @@ const CopyPlugin = require('copy-webpack-plugin');
module.exports = {
mode: 'production',
entry: {
+ index: './src/index.js',
+ APP: './src/js/app.js',
PATHS: './src/js/paths.js',
KUKSA: './src/js/kuksa.js',
VAL_WEB: './src/generated/val_grpc_web_pb.js',
VAL: './src/generated/val_pb.js',
TYPES: './src/generated/types_pb.js',
- VOLUME: './src/js/volume.js',
- index: './src/index.js'
+ VOLUME: './src/js/volume.js'
},
output: {
path: __dirname + '/dist',
@@ -79,7 +80,7 @@ module.exports = {
]
},
{
- test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
+ test: /\.(woff(2)?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
type: 'asset/resource',
generator: {
filename: 'fonts/[name][ext]'