Filter out styleguide components from production builds

This commit is contained in:
Michael Lange
2018-07-03 17:37:49 -07:00
parent d93dd22f74
commit 36c6087dd0

View File

@@ -12,6 +12,13 @@ module.exports = function(defaults) {
svg: {
paths: ['public/images/icons'],
},
funnel: {
enabled: isProd,
exclude: [
`${defaults.project.pkg.name}/components/freestyle/**/*`,
`${defaults.project.pkg.name}/templates/components/freestyle/**/*`,
],
},
});
// Use `app.import` to add additional libraries to the generated