2019-05-21 16:52:46 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
app: {
|
|
|
|
javascript: {
|
|
|
|
pattern: 'assets/*.js',
|
2024-02-17 13:52:09 +01:00
|
|
|
limit: '270KB',
|
2023-10-15 20:37:03 +02:00
|
|
|
compression: 'gzip',
|
2019-05-21 16:52:46 +02:00
|
|
|
},
|
|
|
|
css: {
|
2024-02-17 13:52:09 +01:00
|
|
|
// Embroider build includes both the minified and the unminified CSS
|
|
|
|
// `assets/` folder. Only the minified CSS is referenced by `index.html`.
|
|
|
|
// The unminified version does not increase the bundle size for consumers.
|
|
|
|
// We need to exclude it when calculating bundle size.
|
|
|
|
// Only the minified version includes a fingerprint. We can exclude the
|
|
|
|
// unminified version by using a pattern, which only matches files
|
|
|
|
// including a fingerprint hash in their file name.
|
|
|
|
pattern: 'assets/croodle.*.css',
|
2023-11-05 17:06:27 +01:00
|
|
|
limit: '16.5KB',
|
2023-10-15 20:37:03 +02:00
|
|
|
compression: 'gzip',
|
|
|
|
},
|
|
|
|
},
|
2019-05-21 16:52:46 +02:00
|
|
|
};
|