feature: PORTER FUCKING ROBINSON

This commit is contained in:
FMS-Cat
2021-03-17 11:11:42 +09:00
parent 78bfd15d20
commit e942b6f0bb
9 changed files with 369 additions and 33 deletions

View File

@@ -39,8 +39,8 @@ module.exports = ( env, argv ) => {
},
{
test: /\.(glsl|frag|vert)$/,
type: 'asset/source',
use: [
'raw-loader',
// shader minifier is kinda jej
// want to try it works well in development phase
{
@@ -52,12 +52,16 @@ module.exports = ( env, argv ) => {
'glslify-loader',
],
},
{
test: /\.opus$/,
type: 'asset/inline',
},
{
test: /\.tsx?$/,
exclude: /node_modules/,
use: [
'ts-loader',
]
],
},
],
},