Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2021-03-25 04:16:20 +0300
committerEvan Read <eread@gitlab.com>2021-03-26 02:49:13 +0300
commit0f57b15aae2b9680df17d5865c821ffb6f7762fc (patch)
treeaea20687a39da5ed6e2f0e725949f5f78e88d64e
parent22a97fca30aef8786d280c10e686d20720ac4356 (diff)
Provide way to pass Rollup options
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 89f529c0..c9bb7148 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"version": "1.0.0",
"main": "public/index.js",
"scripts": {
- "bundle": "rollup --config rollup.config.js",
+ "bundle": "if [ -z $ROLLUP_OPTIONS ]; then echo INFO: ROLLUP_OPTIONS is not set; else echo INFO: ROLLUP_OPTIONS = ${ROLLUP_OPTIONS}; fi && rollup --config rollup.config.js ${ROLLUP_OPTIONS}",
"test": "jest",
"eslint": "eslint --max-warnings 0 --ext .js,.vue .",
"prettier": "prettier --check '**/*.{js,vue}'",