Skip to content

Commit

Permalink
Update build dependency. Fixes #1977
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed May 26, 2023
1 parent 48ea08b commit 5e3a037
Show file tree
Hide file tree
Showing 8 changed files with 279 additions and 306 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: contains(github.ref, 'master')
strategy:
matrix:
node-version: [14.18]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: ${{ github.actor == 'dependabot[bot]' }}
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
Expand Down
567 changes: 268 additions & 299 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-keyboard",
"version": "3.5.64",
"version": "3.6.0",
"description": "On-screen Javascript Virtual Keyboard",
"main": "build/index.js",
"scripts": {
Expand Down Expand Up @@ -66,7 +66,7 @@
"terser-webpack-plugin": "^5.3.9",
"typescript": "^4.9.5",
"url-loader": "^4.1.1",
"webpack": "^5.40.0",
"webpack": "^5.84.0",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "4.15.0"
},
Expand Down
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ module.exports = {
libraryTarget: 'umd',
clean: true,
globalObject: 'this',
hashFunction: 'xxhash64',
chunkFormat: 'module',
environment: {
arrowFunction: false
}
Expand Down
4 changes: 3 additions & 1 deletion webpack.config.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ module.exports = {
path: path.resolve(__dirname, 'build'),
library: "SimpleKeyboard",
libraryTarget: 'umd',
globalObject: 'this'
globalObject: 'this',
hashFunction: 'xxhash64',
chunkFormat: 'module',
},
optimization: {
minimize: true,
Expand Down

0 comments on commit 5e3a037

Please sign in to comment.