You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey thanks for the head start on getting myself set up with tailwind in my sapper app. Just a note that I was able to fix startup errors in my app by converting the tailwind config to a non-module object literal. Sapper wasn't very helpful in diagnosing it so I couldn't tell which component was disagreeing with the use of a module in that context, giving only the error message 'import' and 'export' may appear only with 'sourceType: module'. Once I narrowed it down to the tailwind plugin for postcss, I tried copying your tailwind.config.js value for value into a normal object literal and the server now starts. This is on a new sapper app with the latest of everything.
Cheers!
The text was updated successfully, but these errors were encountered:
Hey thanks for the head start on getting myself set up with tailwind in my sapper app. Just a note that I was able to fix startup errors in my app by converting the tailwind config to a non-module object literal. Sapper wasn't very helpful in diagnosing it so I couldn't tell which component was disagreeing with the use of a module in that context, giving only the error message
'import' and 'export' may appear only with 'sourceType: module'
. Once I narrowed it down to the tailwind plugin for postcss, I tried copying yourtailwind.config.js
value for value into a normal object literal and the server now starts. This is on a new sapper app with the latest of everything.Cheers!
The text was updated successfully, but these errors were encountered: