Add input handling

This commit is contained in:
schmelczerandras 2020-07-18 22:02:09 +02:00
parent 29c6b14440
commit d5be727040
36 changed files with 417 additions and 113 deletions

View file

@ -7,6 +7,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const HtmlWebpackInlineSourcePlugin = require('html-webpack-inline-source-plugin');
const Sharp = require('responsive-loader/sharp');
const Sass = require('sass');
const tsNameof = require('ts-nameof');
const isProduction = process.env.NODE_ENV === 'production';
@ -73,7 +74,7 @@ module.exports = {
{
test: /\.(frag|vert)$/i,
use: {
loader: 'raw-loader'
loader: 'raw-loader',
},
},
{
@ -120,7 +121,12 @@ module.exports = {
},
{
test: /\.ts$/,
use: 'ts-loader',
use: {
loader: 'ts-loader',
options: {
getCustomTransformers: () => ({ before: [tsNameof] }),
},
},
exclude: /node_modules/,
},
],