Skip to content

Commit

Permalink
Merge pull request #1296 from Hubs-Foundation:remove-gltf-dep
Browse files Browse the repository at this point in the history
Remove glTF webpack plugin dep
  • Loading branch information
keianhzo authored Jun 4, 2024
2 parents 86ae276 + bc0bdaf commit 6afca85
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
"eslint-plugin-react-hooks": "^2.0.1",
"esm": "^3.2.25",
"file-loader": "^4.2.0",
"gltf-webpack-loader": "https://github.com/MozillaReality/gltf-webpack-loader.git#fix/relative-and-output-paths",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.5",
"jsdom": "^15.1.1",
Expand All @@ -166,4 +165,4 @@
"webpack-dev-server": "^3.8.0",
"worker-loader": "^2.0.0"
}
}
}
10 changes: 0 additions & 10 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,6 @@ module.exports = env => {
}
}
},
{
test: /\.(gltf)(\?.*$|$)/,
use: {
loader: "gltf-webpack-loader",
options: {
name: "[name]-[hash].[ext]",
outputPath: "assets/models"
}
}
},
{
test: /\.(bin)$/,
use: [
Expand Down
7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6527,13 +6527,6 @@ globjoin@^0.1.4:
resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43"
integrity sha1-L0SUrIkZ43Z8XLtpHp9GMyQoXUM=

"gltf-webpack-loader@https://github.com/MozillaReality/gltf-webpack-loader.git#fix/relative-and-output-paths":
version "1.0.6"
resolved "https://github.com/MozillaReality/gltf-webpack-loader.git#4e562e511da981c14f25f87a28f825194035cdca"
dependencies:
loader-utils "^1.2.3"
schema-utils "^1.0.0"

gonzales-pe@^4.2.3:
version "4.2.4"
resolved "https://registry.yarnpkg.com/gonzales-pe/-/gonzales-pe-4.2.4.tgz#356ae36a312c46fe0f1026dd6cb539039f8500d2"
Expand Down

0 comments on commit 6afca85

Please sign in to comment.