mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 00:51:03 +08:00
DEV: Add Handlebars support to Ember CLI in discourse-common
This commit is contained in:
parent
e1dbc700b1
commit
f697133b7d
|
@ -1,5 +1,12 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: require("./package").name
|
name: require("./package").name,
|
||||||
|
options: {
|
||||||
|
autoImport: {
|
||||||
|
alias: {
|
||||||
|
handlebars: "handlebars/dist/cjs/handlebars.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,14 +18,15 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ember-cli-babel": "^7.13.0",
|
"ember-cli-babel": "^7.13.0",
|
||||||
"ember-cli-htmlbars": "^4.2.0"
|
"ember-cli-htmlbars": "^4.2.0",
|
||||||
|
"ember-auto-import": "^1.5.3",
|
||||||
|
"handlebars": "^4.7.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@ember/optional-features": "^1.1.0",
|
"@ember/optional-features": "^1.1.0",
|
||||||
"@glimmer/component": "^1.0.0",
|
"@glimmer/component": "^1.0.0",
|
||||||
"babel-eslint": "^10.0.3",
|
"babel-eslint": "^10.0.3",
|
||||||
"broccoli-asset-rev": "^3.0.0",
|
"broccoli-asset-rev": "^3.0.0",
|
||||||
"ember-auto-import": "^1.5.3",
|
|
||||||
"ember-cli": "~3.15.2",
|
"ember-cli": "~3.15.2",
|
||||||
"ember-cli-dependency-checker": "^3.2.0",
|
"ember-cli-dependency-checker": "^3.2.0",
|
||||||
"ember-cli-eslint": "^5.1.0",
|
"ember-cli-eslint": "^5.1.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user