aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-09-02 09:26:37 -0400
committerbobzel <zzzman@gmail.com>2024-09-02 09:26:37 -0400
commitcda69e48361fce8d71a4dc66edd9dd976a27f52d (patch)
tree82b9a1a5967ae88a9534f89f7eaed3aeb289652f /webpack.config.js
parentc01828308714874589d1f60c33ca59df4c656c0c (diff)
parenta958577d4c27b276aa37484e3f895e196138b17c (diff)
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js9
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