From 0cb48e8e1f393fd9931f3bf682ab5187f2f4500e Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Fri, 11 Sep 2020 22:08:14 +0200 Subject: [PATCH] Fix build command not working on some operating systems --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fd7ef746..8c09dc3c 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ "scripts": { "build": "yarn build-js-all && yarn copy-styles && yarn build-styles", "build-js-all": "yarn build-js-esm && yarn build-js-umd", - "build-js-esm": "cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js,**/*.spec.jsx", - "build-js-umd": "cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js,**/*.spec.jsx", + "build-js-esm": "cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js,**/*.spec.jsx\"", + "build-js-umd": "cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js,**/*.spec.jsx\"", "build-styles": "lessc ./dist/Calendar.less ./dist/Calendar.css", "clean": "rimraf dist", "copy-styles": "node ./copy-styles.js",