Skip to content

Commit

Permalink
Nn 2938 replace node sass (#1308)
Browse files Browse the repository at this point in the history
* NN-2938 replace node sass

* NN-2938 remove commented out code

* NN-2938 fix tests

* NN-2938 fix static styles

Co-authored-by: = <=>
  • Loading branch information
JamieDraperUK committed Oct 8, 2020
1 parent c66a52f commit 54b9ff9
Show file tree
Hide file tree
Showing 6 changed files with 143 additions and 83 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Application can be built with for dev mode

```bash
npm
npm compile-sass
npm run start:dev
```

Expand Down
2 changes: 0 additions & 2 deletions backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const setupHealthChecks = require('./setupHealthChecks')
const setupBodyParsers = require('./setupBodyParsers')
const setupWebSecurity = require('./setupWebSecurity')
const setupAuth = require('./setupAuth')
const setupSass = require('./setupSass')
const setupStaticContent = require('./setupStaticContent')
const nunjucksSetup = require('./utils/nunjucksSetup')
const setupWebpackForDev = require('./setupWebpackForDev')
Expand All @@ -37,7 +36,6 @@ app.use(setupBodyParsers())
app.use(setupHealthChecks())
app.use(setupWebSecurity())
app.use(setupRedirects())
app.use(setupSass())
app.use(setupStaticContent())
app.use(setupWebSession())
app.use(setupAuth({ oauthApi: apis.oauthApi, tokenVerificationApi: apis.tokenVerificationApi }))
Expand Down
26 changes: 0 additions & 26 deletions backend/setupSass.js

This file was deleted.

8 changes: 4 additions & 4 deletions html-template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<!--<![endif]-->

<!--[if gt IE 8 ]>
<link rel='stylesheet' href='/styles/grid.css' type='text/css'>
<![endif]-->
<link rel='stylesheet' href='/styles/grid.css' type='text/css'>
<![endif]-->

<!--[if lt IE 9]>
<link rel='stylesheet' href='/styles/grid-old-ie.css' type='text/css'>
<![endif]-->
<link rel='stylesheet' href='/styles/grid-old-ie.css' type='text/css'>
<![endif]-->

<title>Digital Prison Services</title>
</head>
Expand Down
Loading

0 comments on commit 54b9ff9

Please sign in to comment.