Fix #4981: ruffle broken :(

* Switch to the official Ruffle NPM package.
* Fix `core.ruffle.$hash.js` not being imported.
This commit is contained in:
evazion
2022-01-31 14:39:30 -06:00
parent 2bb5ad78fb
commit bb65a95a86
3 changed files with 13 additions and 13 deletions

View File

@@ -13,6 +13,7 @@
"@fortawesome/fontawesome-free": "^5.11.2",
"@rails/ujs": "^7.0.1",
"@rails/webpacker": "=6.0.0-rc.6",
"@ruffle-rs/ruffle": "0.1.0-nightly.2022.1.31",
"core-js": "^3.20.3",
"css-loader": "^6.5.1",
"dropzone": "^6.0.0-beta.2",
@@ -26,7 +27,6 @@
"postcss-import": "^14.0.2",
"postcss-loader": "^6.2.1",
"postcss-preset-env": "^7.2.3",
"ruffle-mirror": "^2022.1.13",
"sass": "^1.48.0",
"sass-loader": "^12.4.0",
"tippy.js": "^6.3.7",
@@ -48,8 +48,7 @@
"webpack-dev-server": "^4.7.3"
},
"resolutions": {
"webpack": "5.66.0",
"ruffle-mirror": "2022.1.13"
"webpack": "5.66.0"
},
"scripts": {
"eslint-all": "yarn run eslint --plugin eslint-plugin-ignore-erb --ext .js,.js.erb app/javascript/src/javascripts",