Quellcode durchsuchen

Fix a bug in tools/copy.js (#90)

fixes the following error on `npm run build`:
```js
CpyError: Cannot glob `static/**/*`: Cannot copy from `static/media` to `build/media`: cannot read from `static/media`: EISDIR: illegal operation on a directory, read
    at node_modules/cpy/index.js:65:10
Caused By: Error: EISDIR: illegal operation on a directory, read
    at Error (native)
```
Christiaan Maks vor 9 Jahren
Ursprung
Commit
4fb8281577
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      tools/copy.js

+ 1 - 1
tools/copy.js

@@ -15,4 +15,4 @@ const task = require('./task');
  * Copies static files such as robots.txt, favicon.ico to the
  * output (build) folder.
  */
-module.exports = task('copy', cpy(['static/**/*'], 'build'));
+module.exports = task('copy', cpy(['static/**/*.*'], 'build'));