Skip to content

Commit bc0bdaf

Browse files
committed
Remove glTF webpack plugin dep
1 parent 86ae276 commit bc0bdaf

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
"eslint-plugin-react-hooks": "^2.0.1",
145145
"esm": "^3.2.25",
146146
"file-loader": "^4.2.0",
147-
"gltf-webpack-loader": "https://github.com/MozillaReality/gltf-webpack-loader.git#fix/relative-and-output-paths",
148147
"html-webpack-plugin": "^3.2.0",
149148
"husky": "^3.0.5",
150149
"jsdom": "^15.1.1",
@@ -166,4 +165,4 @@
166165
"webpack-dev-server": "^3.8.0",
167166
"worker-loader": "^2.0.0"
168167
}
169-
}
168+
}

webpack.config.js

-10
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,6 @@ module.exports = env => {
136136
}
137137
}
138138
},
139-
{
140-
test: /\.(gltf)(\?.*$|$)/,
141-
use: {
142-
loader: "gltf-webpack-loader",
143-
options: {
144-
name: "[name]-[hash].[ext]",
145-
outputPath: "assets/models"
146-
}
147-
}
148-
},
149139
{
150140
test: /\.(bin)$/,
151141
use: [

yarn.lock

-7
Original file line numberDiff line numberDiff line change
@@ -6527,13 +6527,6 @@ globjoin@^0.1.4:
65276527
resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43"
65286528
integrity sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=
65296529

6530-
"gltf-webpack-loader@https://github.com/MozillaReality/gltf-webpack-loader.git#fix/relative-and-output-paths":
6531-
version "1.0.6"
6532-
resolved "https://github.com/MozillaReality/gltf-webpack-loader.git#4e562e511da981c14f25f87a28f825194035cdca"
6533-
dependencies:
6534-
loader-utils "^1.2.3"
6535-
schema-utils "^1.0.0"
6536-
65376530
gonzales-pe@^4.2.3:
65386531
version "4.2.4"
65396532
resolved "https://registry.yarnpkg.com/gonzales-pe/-/gonzales-pe-4.2.4.tgz#356ae36a312c46fe0f1026dd6cb539039f8500d2"

0 commit comments

Comments
 (0)