choojs / bankai

:station: - friendly web compiler
Apache License 2.0
1.09k stars 102 forks source link

import scss files #539

Open adminy opened 3 years ago

adminy commented 3 years ago

🐛 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