I created a new project with both Vite and Webpack with the latest version beta 22.
Vite crashes with the following code:
import shared from ‘./_shared/shared.css’;
Aurelia
.register(StyleConfiguration.shadowDOM({
sharedStyles: [shared]
}))
Uncaught SyntaxError: The requested module ‘/src/_shared/shared.css’ does not provide an export named ‘default’
With the above code, Webpack does not crash. In the shared.css file, there are styles for classes and tags. But only the style for tags works, the classes do not.