mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:33:44 +08:00
1b28b8e169
The Safari 15 bugfix has been rolled into @babel/preset-env in the most recent version, so we no longer need to carry our vendored copy. This commit updates @babel/preset-env, runs npx yarn-deduplicate yarn.lock, and removes the vendored transform. This commit also refactors our theme transpiler to use @babel/preset-env, with the same list of target browsers as our ember-cli build uses. This means we no longer need to maintain a separate list of babel transforms for themes.
31 lines
870 B
JSON
31 lines
870 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.25.3",
|
|
"@zxing/text-encoding": "^0.9.0",
|
|
"babel-plugin-ember-template-compilation": "^2.2.5",
|
|
"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.3",
|
|
"decorator-transforms": "^2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
}
|
|
}
|