accent/webapp/ember-cli-build.js
2022-02-28 11:41:08 -05:00

43 lines
772 B
JavaScript

/* eslint-env node */
'use strict';
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const target = require('./config/targets');
const sass = require('sass');
module.exports = function (defaults) {
const app = new EmberApp(defaults, {
hinting: false,
vendorFiles: {
'jquery.js': null,
},
autoImport: {
exclude: ['graphql-tag'],
},
babel: {
plugins: ['graphql-tag', require('ember-auto-import/babel-plugin')],
sourceMaps: 'inline',
},
'ember-cli-babel-polyfills': {
evergreenTargets: target.browsers,
},
svg: {
paths: ['public'],
},
sassOptions: {
implementation: sass,
},
});
app.import('node_modules/diff/dist/diff.js');
return app.toTree();
};