I have an old app which just uses traditional stlye sheets linked in index.html
I’m trying to update that app and used au new
to bootstrap the setup for a TypeScript/CSS/webpack project. I’m still new to webpack.
npm run build
ing results in no styles being applied at runtime.
If I add an import statement to my main.ts
like import '../styles/styles.css'
then most of the styling appears.
Any hints on what I need to change from the default project setup to get styles to appear, or must I import
it in a TS file after all? Do I need to fall back to using the CopyWebpackPlugin
and just brute force copy the files to the output?