Closed IvanWoo closed 1 year ago
Sorry for the trouble caused and thanks for the suggestion!
According to the Node.js documentation, this is caused by the encapsulation effect of exports
. I'll add a subpath export for the stylesheet and it should fix. I'll publish the fix soon after running some tests to make sure all builds work.
greetings!
I am trying to upgrade shikwasa to
v2.2.0
at here, but I noticed that the css file cannot be imported properly with the following error msgseems like it's related to the
exports
field ofpackage.json
https://github.com/jessuni/shikwasa/blob/ecf7a3e3e607540b53aa3beb54a366641ea577c3/package.json#L10-L14
I can import the css after removing the
exports
part based on the discussion at hereI don't mind opening a pr for it, but not sure if it's the right way going forward b/c it might break commonjs import
thanks!