Fix #4802: Ruffle conflicts with danbooru JS
Caused by Webpack clobbering the `Danbooru` variable for unknown reasons when the app/javascript/packs/flash.js pack is loaded. Disabling the output.library option seems to fix it.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const { webpackConfig, merge } = require('@rails/webpacker')
|
||||
|
||||
module.exports = merge(webpackConfig, {
|
||||
output: {
|
||||
library: "Danbooru",
|
||||
},
|
||||
// output: {
|
||||
// library: "Danbooru",
|
||||
// },
|
||||
resolve: {
|
||||
alias: {
|
||||
"jquery": "jquery/src/jquery.js",
|
||||
|
||||
Reference in New Issue
Block a user