Project

General

Profile

Task #2727

Use SCSS

Added by Luke Murphey over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/11/2020
Due date:
% Done:

100%


History

#1 Updated by Luke Murphey over 4 years ago

Error:

ERROR in ./src/components/Reader/Chapter.scss 4:4
Module parse failed: Unexpected token (4:4)
File was processed with these loaders:
 * ./node_modules/sass-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| @import "perseus.scss";
| */
> nav ul {
|   margin: 0;
|   padding: 0;
 @ ./src/components/Reader/Chapter.jsx 46:0-24
 @ ./src/components/Reader/index.jsx
 @ ./src/App.jsx
 @ ./src/index.jsx

Qs:
  • Is sass installed?
  • Is anyone else having this issue?
Solns:
  • Use same webpack config as recommended
    • This was it

#2 Updated by Luke Murphey over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF