diff options
author | Anatoli Babenia <anatoli@rainforce.org> | 2023-07-26 01:48:40 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2023-07-26 01:48:40 +0300 |
commit | 0e9eb13dcfa5ef01823e11dbc7ec15a9879a962a (patch) | |
tree | e6c5b956486d33988b16e655781e3557e1ae773c /package.json | |
parent | ee4941a929da9fecb5bc62f1e72b3c9f84cc0b18 (diff) |
Move JS compilation into Makefile
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 96779982..d8153adb 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "main": "public/index.js", "scripts": { - "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}", + "compile:js": "rollup --config rollup.config.js $ROLLUP_OPTIONS", "watch:js": "rollup --config rollup.config.js --watch", "compile:css": "node_modules/.bin/sass content/assets/stylesheets:public/assets/stylesheets/", "watch:css": "node_modules/.bin/sass --watch content/assets/stylesheets:public/assets/stylesheets/", |