Fix 3D Viewer

This commit is contained in:
Shawn 2019-03-19 23:52:37 -05:00
parent f32fa40160
commit 6931d2dfb0
3 changed files with 7 additions and 10 deletions

View file

@ -124,7 +124,7 @@
"prettier": "^1.11.1",
"prop-types": "^15.6.2",
"qrcode.react": "^0.8.0",
"raw-loader": "^1.0.0",
"raw-loader": "^2.0.0",
"rc-progress": "^2.0.6",
"react": "^16.8.2",
"react-dom": "^16.8.2",

View file

@ -53,12 +53,9 @@ let baseConfig = {
},
},
{
test: /\.glsl/,
test: /\.(vert|frag|glsl)$/,
use: {
loader: 'file-loader',
options: {
outputPath: 'ui/three',
},
loader: 'raw-loader',
},
},
],

View file

@ -8443,10 +8443,10 @@ raw-body@2.3.3:
iconv-lite "0.4.23"
unpipe "1.0.0"
raw-loader@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-1.0.0.tgz#3f9889e73dadbda9a424bce79809b4133ad46405"
integrity sha512-Uqy5AqELpytJTRxYT4fhltcKPj0TyaEpzJDcGz7DFJi+pQOOi3GjR/DOdxTkTsF+NzhnldIoG6TORaBlInUuqA==
raw-loader@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-2.0.0.tgz#e2813d9e1e3f80d1bbade5ad082e809679e20c26"
integrity sha512-kZnO5MoIyrojfrPWqrhFNLZemIAX8edMOCp++yC5RKxzFB3m92DqKNhKlU6+FvpOhWtvyh3jOaD7J6/9tpdIKg==
dependencies:
loader-utils "^1.1.0"
schema-utils "^1.0.0"