mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Filter out styleguide components from production builds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user