Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Removed sass support, for arm compatibility and updated libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Uilton Oliveira committed Mar 29, 2021
1 parent 2a96988 commit 47d0a67
Show file tree
Hide file tree
Showing 6 changed files with 1,445 additions and 1,653 deletions.
7 changes: 0 additions & 7 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const express = require('express');
const path = require('path');
const cookieParser = require('cookie-parser');
const logger = require('morgan');
const sassMiddleware = require('node-sass-middleware');
const bodyParser = require('body-parser');
const md = require('markdown-it')();

Expand All @@ -31,12 +30,6 @@ app.use(logger('dev'));
app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use(cookieParser());
app.use(sassMiddleware({
src: path.join(__dirname, 'public'),
dest: path.join(__dirname, 'public'),
indentedSyntax: true, // true = .sass and false = .scss
sourceMap: true
}));
app.use(express.static(path.join(__dirname, 'public')));
app.use(bodyParser.json()); // support json encoded bodies
app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
Expand Down
Loading

0 comments on commit 47d0a67

Please sign in to comment.