Skip to content

import scss files #539

Open
Open
@adminy

Description

🐛 bug report / 🙋 feature request

With parcel, I can have a js file and in it I can say

import './style.scss'

Expected Behavior

For it to be parsed and then bundled.

Current Behavior

🚨 Failed while processing 'scripts'.
 --> web/style.scss:1:1
  |

Possible Solution

detect import file type and parse accordingly.

Context

I would like to switch between bundlers without much effort. the import css is a must have feature since its supported by most bundlers.

Software Version(s)
Package 9.15.3
Runtime v14.15.3
Package Manager v7.7.5
Operating System macos

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions