Skip to content

Commit

Permalink
Replaced glslify by ts-shader-loader
Browse files Browse the repository at this point in the history
+ stop dev server from opening a browser window automatically
  • Loading branch information
BarthPaleologue committed Mar 4, 2024
1 parent bf8dfcf commit e418719
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 182 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"css-loader": "^6.8.1",
"eslint": "^8.53.0",
"eslint-plugin-import": "^2.29.0",
"glslify-loader": "^2.0.0",
"html-loader": "^4.2.0",
"html-webpack-plugin": "^5.5.3",
"mini-css-extract-plugin": "^2.7.6",
Expand All @@ -18,6 +17,7 @@
"style-loader": "^3.3.3",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"ts-shader-loader": "^2.0.2",
"typescript": "^4.9.5",
"typescript-plugin-css-modules": "^4.2.3",
"webpack": "^5.89.0",
Expand Down
193 changes: 14 additions & 179 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = {
path: path.resolve(__dirname, "dist")
},
devServer: {
open: true,
open: false,
host: "localhost",
historyApiFallback: false
},
Expand Down Expand Up @@ -59,7 +59,7 @@ const config = {
{
test: /\.(glsl|vs|fs|vert|frag|fx)$/,
exclude: /node_modules/,
use: ["raw-loader", "glslify-loader"]
use: ["ts-shader-loader"]
}


Expand Down

0 comments on commit e418719

Please sign in to comment.