diff --git a/config/assets/default.js b/config/assets/default.js index 8d614fd4d3..42f1b1062a 100644 --- a/config/assets/default.js +++ b/config/assets/default.js @@ -38,7 +38,7 @@ module.exports = { server: { allJS: ['gruntfile.js', 'server.js', 'config/**/*.js', 'modules/*/server/**/*.js'], models: 'modules/*/server/models/**/*.js', - routes: ['modules/*[!core]/server/routes/**/*.js', 'modules/core/server/routes/**/*.js'], + routes: ['modules/!(core)/server/routes/**/*.js', 'modules/core/server/routes/**/*.js'], sockets: 'modules/*/server/sockets/**/*.js', config: 'modules/*/server/config/*.js', policies: 'modules/*/server/policies/*.js',