adopted-ember-addons / adopted-ember-addons/ember-cli-sass
Cannot find module 'sass'
- Ngôn ngữ chính
- JavaScript
- Star
- 273
- Fork
- 90
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
```js
'use strict';
var sass = require('sass');
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
let app = new EmberApp(defaults, {
// Add options here
sassOptions: {
implementation: sass
}
});
// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.
return app.toTree();
};
```
➜ flexbox-app git:(master) ✗ ember s
Could not require 'ember-cli-build.js': Cannot find module 'sass'
Stack Trace and Error Report: /var/folders/1c/5t4__m4j72zfnrchkthtmh8c0000gn/T/error.dump.10b05e33237a0aabe49205f7efb7b06c.log
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.