diff options
author | bobzel <zzzman@gmail.com> | 2024-08-20 19:11:00 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-08-20 19:11:00 -0400 |
commit | 5196009ec6bcb673fd2a4519c54442df218841f7 (patch) | |
tree | 79f4b1d559c20a6bfd9b4759a5cbe9d8f8c00fe1 /webpack.config.js | |
parent | 0e975569e5686138e52bdc554b3f0391f42aeead (diff) | |
parent | e57584a1be9d428fb40fc789494a7ac0ac14fb84 (diff) |
fixed up a bunch of things in face recognition
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/webpack.config.js b/webpack.config.js index 58df9a57d..e1afc64e5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,8 +1,7 @@ -/* eslint-disable node/no-unpublished-require */ +/* eslint-disable @typescript-eslint/no-var-requires */ const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); -// eslint-disable-next-line import/no-extraneous-dependencies // const ESLintPlugin = require('eslint-webpack-plugin'); // const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); const { parsed } = require('dotenv').config(); @@ -54,8 +53,6 @@ module.exports = { viewer: ['./src/debug/Viewer.tsx', 'webpack-hot-middleware/client?reload=true'], repl: ['./src/debug/Repl.tsx', 'webpack-hot-middleware/client?reload=true'], test: ['./src/debug/Test.tsx', 'webpack-hot-middleware/client?reload=true'], - inkControls: ['./src/mobile/InkControls.tsx', 'webpack-hot-middleware/client?reload=true'], - mobileInterface: ['./src/client/views/Main.tsx', 'webpack-hot-middleware/client?reload=true'], }, devtool: 'source-map', output: { @@ -120,6 +117,10 @@ module.exports = { { loader: 'sass-loader' }, ], }, + { + test: /\.(txt|d)$/i, + type: 'asset/source', + }, // -------- // SCSS MODULES - all have .module. in their name and can export to .tsx |