Skip to content

Commit bfbaf52

Browse files
committed
Generate source maps in production as well
1 parent 4e65943 commit bfbaf52

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

ember-cli-build.js

+6-9
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,17 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
33

44
module.exports = function (defaults) {
55
const app = new EmberApp(defaults, {
6+
// Don't include SVG files, because of animal icons being loaded dynamically
67
fingerprint: {
7-
// Don't include SVG files, because of animal icons being loaded dynamically
88
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map'],
9-
generateAssetMap: true,
10-
fingerprintAssetMap: true,
119
},
1210

13-
sassOptions: {
14-
extension: 'sass',
15-
},
11+
// Generate source maps in production as well
12+
sourcemaps: { enabled: true },
1613

17-
SRI: {
18-
enabled: false,
19-
},
14+
sassOptions: { extension: 'sass' },
15+
16+
SRI: { enabled: false },
2017
});
2118

2219
// Use `app.import` to add additional libraries to the generated

0 commit comments

Comments
 (0)