Skip to content

Commit

Permalink
build: hack webpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jan 26, 2024
1 parent e1f2434 commit 9ec6ba8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ COPY . ./

RUN apk add --no-cache gettext jq

ENV NODE_OPTIONS=--openssl-legacy-provider

# first do the build
RUN yarn --frozen-lockfile \
&& yarn build \
Expand Down
2 changes: 1 addition & 1 deletion apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"precommit": "lit-analyzer --strict --quiet",
"build": "webpack --mode production --config webpack.config.cjs",
"build": "NODE_OPTIONS=--openssl-legacy-provider DISABLE_V8_COMPILE_CACHE=1 webpack --mode production --config webpack.config.cjs",
"start": "webpack-dev-server --mode development --config webpack.config.cjs"
},
"dependencies": {
Expand Down

0 comments on commit 9ec6ba8

Please sign in to comment.