Skip to content

Commit

Permalink
Generate source maps in production as well
Browse files Browse the repository at this point in the history
  • Loading branch information
szimek committed Sep 28, 2020
1 parent 4e65943 commit bfbaf52
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');

module.exports = function (defaults) {
const app = new EmberApp(defaults, {
// Don't include SVG files, because of animal icons being loaded dynamically
fingerprint: {
// Don't include SVG files, because of animal icons being loaded dynamically
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map'],
generateAssetMap: true,
fingerprintAssetMap: true,
},

sassOptions: {
extension: 'sass',
},
// Generate source maps in production as well
sourcemaps: { enabled: true },

SRI: {
enabled: false,
},
sassOptions: { extension: 'sass' },

SRI: { enabled: false },
});

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

0 comments on commit bfbaf52

Please sign in to comment.