aboutsummaryrefslogtreecommitdiffstats
path: root/ui/css.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/css.js')
-rw-r--r--ui/css.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/ui/css.js b/ui/css.js
deleted file mode 100644
index d8f954434..000000000
--- a/ui/css.js
+++ /dev/null
@@ -1,25 +0,0 @@
-const fs = require('fs')
-const path = require('path')
-
-module.exports = bundleCss
-
-var cssFiles = {
- 'index.css': fs.readFileSync(path.join(__dirname, '/app/css/output/index.css'), 'utf8'),
- 'react-tooltip-component.css': fs.readFileSync(path.join(__dirname, '..', 'node_modules', 'react-tooltip-component', 'dist', 'react-tooltip-component.css'), 'utf8'),
- 'react-css': fs.readFileSync(path.join(__dirname, '..', 'node_modules', 'react-select', 'dist', 'react-select.css'), 'utf8'),
-}
-
-function bundleCss () {
- var cssBundle = Object.keys(cssFiles).reduce(function (bundle, fileName) {
- var fileContent = cssFiles[fileName]
- var output = String()
-
- output += '/*========== ' + fileName + ' ==========*/\n\n'
- output += fileContent
- output += '\n\n'
-
- return bundle + output
- }, String())
-
- return cssBundle
-}