Fix #4781: Danbooru Javascript object is broken.

Downgrade Webpack from 5.28.0 to 5.26.3. Breakage was introduced at
5.27.0. It's unclear if this is a regression of issue 12742 in Webpack
or if we're doing something else wrong.

hxxps://github.com-webpack-webpack-issues-12742
hxxps://github.com-webpack-webpack-issues-12851
This commit is contained in:
evazion
2021-04-01 03:10:44 -05:00
parent a0b6047d00
commit d58a0bf1e4
2 changed files with 7 additions and 4 deletions

View File

@@ -48,6 +48,9 @@
"stylelint-config-standard": "^20.0.0",
"webpack-dev-server": "^3.11.2"
},
"resolutions": {
"webpack": "5.26.3"
},
"scripts": {
"eslint-all": "yarn run eslint --plugin eslint-plugin-ignore-erb --ext .js,.js.erb app/javascript/src/javascripts",
"stylelint-all": "yarn run stylelint 'app/javascript/src/styles/**/*.scss'"