Unable to include css files from installed packages
See original GitHub issueI’m trying to combine some scss / css files into one bundle using this package. In my entry.js I import all the stylesheets with:
import "awesomplete/awesomplete.css";
import "./simple-modal-custom.css";
import "./custom.scss";
The first one if from an installed module (ie in node_modules/awesomplete/awesomplete.css
.
But this files get ignored and only the other 2 get bundled.
If I use relative imports this seems to work:
import "../node_modules/awesomplete/awesomplete.css";
I would expect the first version to work. Am I missing something?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to Fix the Error: "The package could not be installed. The ...
A missing style.css file means one of two things: the theme developer (potentially you) failed to include it in the root directory, ...
Read more >Cant Import CSS files into React Project - Stack Overflow
when i tried to import css file it showed error that loaders are missing. so i have installed css-loader and style-loader packages. if...
Read more >How to Fix “The package could not be installed. The theme is ...
What is the "The package could not be installed. The theme is missing the style.css stylesheet" error? · Go to Appearance → Themes...
Read more >Common Error Details - Snowpack
When installing packages from npm, you may encounter some file formats that can run only with additional parsing/processing. First check to see if...
Read more >Fix the Error: “The package could not be installed ... - YouTube
The theme is missing the style. css stylesheet.” In this tutorial, we'll ... A Comprehensive Guide on WordPress Files and How to Use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aharris Cool, I released version 2.0.0 with that includePath by default.
You should be able to include node_modules: