diff options
author | Evan Read <eread@gitlab.com> | 2021-03-25 04:16:20 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2021-03-26 02:49:13 +0300 |
commit | 0f57b15aae2b9680df17d5865c821ffb6f7762fc (patch) | |
tree | aea20687a39da5ed6e2f0e725949f5f78e88d64e | |
parent | 22a97fca30aef8786d280c10e686d20720ac4356 (diff) |
Provide way to pass Rollup options
-rw-r--r-- | package.json | 2 |
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}'", |