You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/06/05 20:55:19 UTC
[streampipes] 03/03: Replace variable template file in prebuild script
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch improve-css
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit ae8a872d82b50a26c965941af3f9647bc71d87e2
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Mon Jun 5 22:54:57 2023 +0200
Replace variable template file in prebuild script
---
ui/deployment/prebuild.js | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/ui/deployment/prebuild.js b/ui/deployment/prebuild.js
index c3455bcc8..dfb6e3e62 100644
--- a/ui/deployment/prebuild.js
+++ b/ui/deployment/prebuild.js
@@ -119,10 +119,6 @@ fs.writeFileSync(
'src/app/app-overview/apps.ts',
fs.readFileSync('deployment/apps.ts'),
);
-fs.writeFileSync(
- 'src/scss/_variables.scss',
- fs.readFileSync('deployment/_variables.scss'),
-);
fs.writeFileSync(
'src/app/services/app.constants.ts',
fs.readFileSync('deployment/app-constants.ts', 'utf8'),
@@ -145,10 +141,10 @@ fs.writeFileSync(
);
console.log('Moved: favicon');
fs.writeFileSync(
- 'src/scss/sp/sp-theme.scss',
- fs.readFileSync('deployment/sp-theme.scss', 'utf8'),
+ 'src/scss/_variables.scss',
+ fs.readFileSync('deployment/_variables.scss', 'utf8'),
);
-console.log('Moved: theme file');
+console.log('Moved: styling variables file');
fs.writeFileSync(
'webpack.partial.dev.js',
fs.readFileSync('deployment/webpack.partial.dev.js', 'utf8'),