ts-check webpack configs

This commit is contained in:
Daniel Imms
2023-08-23 16:29:45 -07:00
parent 9be0b6d918
commit e78f85bf65
2 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -10,8 +10,10 @@ const path = require('path');
* from tsc (via `yarn watch` or `yarn prebuild`) which are put into `out/` and webpacks them into a
* production mode umd library module in `lib-headless/`. The aliases are used fix up the absolute
* paths output by tsc (because of `baseUrl` and `paths` in `tsconfig.json`.
*
* @type {import('webpack').Configuration}
*/
module.exports = {
const config = {
entry: './out/headless/public/Terminal.js',
devtool: 'source-map',
module: {
@@ -41,3 +43,4 @@ module.exports = {
},
mode: 'production'
};
module.exports = config;