diff options
| author | Sindre Sorhus <[email protected]> | 2015-08-20 15:04:27 +0700 |
|---|---|---|
| committer | Sindre Sorhus <[email protected]> | 2015-08-20 15:05:29 +0700 |
| commit | 0f7eda647b8c55b4e1585130a53efa1bc5f817ca (patch) | |
| tree | 49e8e32efee8a1c4f9f7af6e05fe6af536e636d6 | |
| parent | 5f9d91994cde005fa1601447e5eeb9159c8bedd8 (diff) | |
| download | electron-boilerplate-0f7eda647b8c55b4e1585130a53efa1bc5f817ca.tar.xz electron-boilerplate-0f7eda647b8c55b4e1585130a53efa1bc5f817ca.zip | |
ignore only the top-level folder that is named exactly `dist`
Forgot that `--ignore` is supposed to be a regex. Previously it would match anything containing `dist` at any level, which was pretty bad.
See: https://github.com/sindresorhus/generator-electron/issues/16
| -rw-r--r-- | boilerplate/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boilerplate/package.json b/boilerplate/package.json index 7329e27..c696c36 100644 --- a/boilerplate/package.json +++ b/boilerplate/package.json @@ -16,7 +16,7 @@ }, "scripts": { "start": "electron .", - "build": "electron-packager . $npm_package_productName --out=dist --ignore=dist --prune --asar --all --version=0.30.0" + "build": "electron-packager . $npm_package_productName --out=dist --ignore='^/dist$' --prune --asar --all --version=0.30.0" }, "files": [ "index.js", |
