diff options
Diffstat (limited to 'ui/css.js')
-rw-r--r-- | ui/css.js | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,13 +1,14 @@ const fs = require('fs') +const path = require('path') module.exports = bundleCss var cssFiles = { - 'fonts.css': fs.readFileSync(__dirname + '/app/css/fonts.css', 'utf8'), - 'reset.css': fs.readFileSync(__dirname + '/app/css/reset.css', 'utf8'), - 'lib.css': fs.readFileSync(__dirname + '/app/css/lib.css', 'utf8'), - 'index.css': fs.readFileSync(__dirname + '/app/css/index.css', 'utf8'), - 'transitions.css': fs.readFileSync(__dirname + '/app/css/transitions.css', 'utf8'), + 'fonts.css': fs.readFileSync(path.join(__dirname, '/app/css/fonts.css'), 'utf8'), + 'reset.css': fs.readFileSync(path.join(__dirname, '/app/css/reset.css'), 'utf8'), + 'lib.css': fs.readFileSync(path.join(__dirname, '/app/css/lib.css'), 'utf8'), + 'index.css': fs.readFileSync(path.join(__dirname, '/app/css/index.css'), 'utf8'), + 'transitions.css': fs.readFileSync(path.join(__dirname, '/app/css/transitions.css'), 'utf8'), } function bundleCss () { |