mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-03 22:11:57 +08:00
Fixes T1272: Package keyboard commands work in prod build
CSON files were not being copied over and therefore couldn't be parsed into the main package.json file. All package-specific keymaps (like the composer's ctrl+enter send) were not being activated on production builds.
This commit is contained in:
parent
8c08e61d6f
commit
9ff8cf682d
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ module.exports = (grunt) ->
|
|||
pathToCopy = path.resolve(pathToCopy)
|
||||
nodeModulesFilter.test(pathToCopy) or testFolderPattern.test(pathToCopy) or exampleFolderPattern.test(pathToCopy)
|
||||
|
||||
packageFilter = new RegExp("(#{ignoredPaths.join('|')})|(.+\\.(cson|coffee|cjsx|jsx)$)")
|
||||
packageFilter = new RegExp("(#{ignoredPaths.join('|')})|(.+\\.(coffee|cjsx|jsx)$)")
|
||||
filterPackage = (pathToCopy) ->
|
||||
return true if benchmarkFolderPattern.test(pathToCopy)
|
||||
|
||||
|
|
Loading…
Reference in a new issue