diff --git a/index.js b/index.js index bfc12501..6ecd819e 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,7 @@ const mergeTrees = require('broccoli-merge-trees'); const Funnel = require('broccoli-funnel'); const path = require('path'); +const nodeSass = require('node-sass'); module.exports = { name: require('./package').name, @@ -31,8 +32,11 @@ module.exports = { importBootstrapFont: false, importBootstrapCSS: false }; + target.options['ember-bootstrap'] = target.options['ember-bootstrap'] || defaultEmberBootStrapOptions; + target.options.sassOptions = target.options.sassOptions || { implementation: nodeSass }; + this.checkPreprocessor(); this._super.included.apply(this, arguments); diff --git a/package.json b/package.json index d0c33333..d951dd61 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,8 @@ "ember-cli-htmlbars": "^3.0.0", "ember-cli-sass": "^8.0.1", "ember-svg-jar": "^1.2.2", - "ember-truth-helpers": "^2.1.0" + "ember-truth-helpers": "^2.1.0", + "node-sass": "^4.9.4" }, "devDependencies": { "@ember/optional-features": "^0.7.0", @@ -76,7 +77,6 @@ "eslint-plugin-ember": "^5.2.0", "eslint-plugin-node": "^7.0.1", "loader.js": "^4.7.0", - "node-sass": "^4.9.4", "normalize.css": "^8.0.0", "np": "*", "qunit-dom": "^0.8.0",