Skip to content

Commit

Permalink
fix(webpack): use legacy openssl provider
Browse files Browse the repository at this point in the history
Current github runner uses node 18, which requires this (or upgrading webpack, which I'm too lazy to do. Should not be an issue in 4.x branch)
  • Loading branch information
eteubert committed Oct 14, 2023
1 parent bcb0aa6 commit 15df819
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"scripts": {
"webpack": "NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"dev": "NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hmr": "NODE_ENV=development node_modules/webpack/bin/webpack.js-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "NODE_ENV=production node_modules/webpack/bin/webpack.js --no-colors --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"webpack": "NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"dev": "NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"hmr": "NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development node_modules/webpack/bin/webpack.js-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"production": "NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production node_modules/webpack/bin/webpack.js --no-colors --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"submodules-init": "git submodule update --init --recursive",
"cloc": "cloc --by-file-by-lang --exclude-dir=dist,data,node_modules,vendor,player_v2,.git,jquery-ui --not-match-f=\".*.min.(js|css)|cornify.js|dc.js|spectrum.js\" --exclude-ext=json *",
"test": "./vendor/bin/phpunit",
Expand Down

0 comments on commit 15df819

Please sign in to comment.