parcel-bundler/website

bundle-text example - variable naming error to be fixed ("style" used twice)

raph-of-burgondy opened this issue · 0 comments

Hi,
There is a little mistake to fix in plugin configuration page.
in the example for bundle-text you use "style" as variable for the Element AND the imported style sheet.
you may correct in :

import styleSheet from "bundle-text:./logo.less";

and further in the class constructor

style.textContent = styleSheet;

parcel is great !
br