mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 01:33:42 +08:00
97847f6cd8
This reverts commit 0f4520867b
.
This has led to two problems:
1. An incompatibility with Cloudflare's "auto minify" feature. They've deprecated this feature because of incompatibility with modern JS syntax. But unfortunately it will remain enabled on existing properties until 2024-08-05.
2. Discourse fails to boot in Safari 15. This is strange, because Safari does support all the required features in our production JS bundles. Even more strangely, things start working as soon as you open the developer tools. That suggests the cause could be a Safari bug rather than a simple incompatibility.
Reverting while we work out a path forward on both those issues.
17 lines
243 B
JavaScript
17 lines
243 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
name: require("./package").name,
|
|
options: {
|
|
autoImport: {
|
|
alias: {
|
|
handlebars: "handlebars/dist/cjs/handlebars.js",
|
|
},
|
|
},
|
|
},
|
|
|
|
isDevelopingAddon() {
|
|
return true;
|
|
},
|
|
};
|