-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathember-cli-build.js
More file actions
57 lines (53 loc) · 1.61 KB
/
ember-cli-build.js
File metadata and controls
57 lines (53 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
'use strict';
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
const tailwind = require('tailwindcss');
module.exports = function (defaults) {
const app = new EmberApp(defaults, {
fingerprint: { enabled: false },
sourcemaps: {
// enabled sourcemaps for all environments (e.g. for sentry integration)
enabled: true,
extensions: ['js'],
},
postcssOptions: {
compile: {
enabled: true,
extension: 'scss',
parser: require('postcss-scss'),
cacheExclude: [],
cacheInclude: [
/.*\.(css|scss|sass|hbs|html)$/,
/tailwindcss-config\.js$/,
],
plugins: [
{
module: require('@csstools/postcss-sass'),
options: {
// includePaths: [
// 'node_modules/tachyons-sass',
// ],
silenceDeprecations: ['import', 'global-builtin', 'legacy-js-api'],
},
},
{
module: tailwind,
options: {
config: './config/tailwindcss-config.js',
},
},
],
},
},
emberData: {
deprecations: {
// New projects can safely leave this deprecation disabled.
// If upgrading, to opt-into the deprecated behavior, set this to true and then follow:
// https://deprecations.emberjs.com/id/ember-data-deprecate-store-extends-ember-object
// before upgrading to Ember Data 6.0
DEPRECATE_STORE_EXTENDS_EMBER_OBJECT: false,
},
},
});
app.import('node_modules/inobounce/inobounce.js');
return app.toTree();
};