Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit bf90169

Browse files
committed
refactor(cleancss): moved common config values to environment variables
1 parent fb86d27 commit bf90169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/cleancss.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ module.exports = {
55
/**
66
* sourceFileName: the file name of the src css file
77
*/
8-
sourceFileName: 'main.css',
8+
sourceFileName: process.env.IONIC_OUTPUT_CSS_FILE_NAME,
99

1010
/**
1111
* destFileName: the file name for the generated minified file
1212
*/
13-
destFileName: 'main.css'
13+
destFileName: process.env.IONIC_OUTPUT_CSS_FILE_NAME
1414

1515
};

0 commit comments

Comments
 (0)