discourse/app/assets/javascripts/theme-transpiler/package.json
David Taylor 97847f6cd8
Revert "DEV: @babel/plugin-proposal-decorators -> decorator-transforms (#25290)" (#26971)
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.
2024-05-10 12:48:16 +01:00

30 lines
832 B
JSON

{
"name": "theme-transpiler",
"version": "1.0.0",
"private": true,
"description": "Uses esbuild to create a 'theme transpiler' bundle for loading into mini-racer",
"author": "Discourse",
"license": "GPL-2.0-only",
"keywords": [],
"dependencies": {
"@babel/standalone": "^7.24.5",
"@zxing/text-encoding": "^0.9.0",
"babel-plugin-ember-template-compilation": "^2.2.4",
"content-tag": "^2.0.1",
"discourse-common": "1.0.0",
"discourse-widget-hbs": "1.0.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-source": "~5.5.0",
"ember-this-fallback": "^0.4.0",
"handlebars": "^4.7.8",
"path-browserify": "^1.0.1",
"polyfill-crypto.getrandomvalues": "^1.0.0",
"terser": "^5.31.0"
},
"engines": {
"node": ">= 18",
"npm": "please-use-yarn",
"yarn": ">= 1.21.1"
}
}