chore: shoosh
This commit is contained in:
parent
1f01189143
commit
6107296baf
|
@ -49,7 +49,12 @@ module.exports = async (flecks) => {
|
|||
'.json',
|
||||
]);
|
||||
// Reporting.
|
||||
config.stats(flecks.get('@flecks/server.stats'));
|
||||
config.stats({
|
||||
...flecks.get('@flecks/server.stats'),
|
||||
warningsFilter: [
|
||||
/Failed to parse source map/,
|
||||
],
|
||||
});
|
||||
// Outputs.
|
||||
config.output
|
||||
.path(options.output)
|
||||
|
|
|
@ -16,6 +16,11 @@ module.exports = (flecks) => (neutrino) => {
|
|||
host: devHost,
|
||||
port: devPort || (port + 1),
|
||||
public: devPublic,
|
||||
stats: devStats,
|
||||
stats: {
|
||||
...devStats,
|
||||
warningsFilter: [
|
||||
/Failed to parse source map/,
|
||||
],
|
||||
},
|
||||
}));
|
||||
};
|
||||
|
|
|
@ -65,7 +65,12 @@ module.exports = async (flecks) => {
|
|||
config.resolve.modules
|
||||
.merge([join(FLECKS_CORE_ROOT, 'node_modules')]);
|
||||
// Reporting.
|
||||
config.stats(flecks.get('@flecks/web/server.stats'));
|
||||
config.stats({
|
||||
...flecks.get('@flecks/web/server.stats'),
|
||||
warningsFilter: [
|
||||
/Failed to parse source map/,
|
||||
],
|
||||
});
|
||||
}
|
||||
},
|
||||
],
|
||||
|
|
|
@ -137,7 +137,12 @@ module.exports = async (flecks) => {
|
|||
config.resolve.modules
|
||||
.merge([join(FLECKS_CORE_ROOT, 'node_modules')]);
|
||||
// Reporting.
|
||||
config.stats(flecks.get('@flecks/web/server.stats'));
|
||||
config.stats({
|
||||
...flecks.get('@flecks/web/server.stats'),
|
||||
warningsFilter: [
|
||||
/Failed to parse source map/,
|
||||
],
|
||||
});
|
||||
// Inline the main entrypoint (nice for FCP).
|
||||
config
|
||||
.plugin('inline-chunks')
|
||||
|
|
Loading…
Reference in New Issue
Block a user