Skip to content

Commit

Permalink
(Chore) Update node-sass-middleware to v1.0.1
Browse files Browse the repository at this point in the history
This closes issues:
Running tests locally fails expressjs#308
and
Sass Generator not working out of the box expressjs#296
  • Loading branch information
p4nu authored May 28, 2022
1 parent f20bb37 commit c8e437a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/express-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ function createApplication (name, dir, options, done) {
case 'sass':
app.locals.modules.sassMiddleware = 'node-sass-middleware'
app.locals.uses.push("sassMiddleware({\n src: path.join(__dirname, 'public'),\n dest: path.join(__dirname, 'public'),\n indentedSyntax: true, // true = .sass and false = .scss\n sourceMap: true\n})")
pkg.dependencies['node-sass-middleware'] = '0.11.0'
pkg.dependencies['node-sass-middleware'] = '1.0.1'
break
case 'stylus':
app.locals.modules.stylus = 'stylus'
Expand Down

0 comments on commit c8e437a

Please sign in to comment.