DEV: Add Handlebars support to Ember CLI in discourse-common

This commit is contained in:
Robin Ward 2020-04-29 16:14:35 -04:00
parent e1dbc700b1
commit f697133b7d
2 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,12 @@
"use strict";
module.exports = {
name: require("./package").name
name: require("./package").name,
options: {
autoImport: {
alias: {
handlebars: "handlebars/dist/cjs/handlebars.js"
}
}
}
};

View File

@ -18,14 +18,15 @@
},
"dependencies": {
"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": {
"@ember/optional-features": "^1.1.0",
"@glimmer/component": "^1.0.0",
"babel-eslint": "^10.0.3",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^1.5.3",
"ember-cli": "~3.15.2",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-eslint": "^5.1.0",