python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
html-loader only works on index.html file
I'm working on a static site project, and have to now add multiple pages using the same header and footer. I'm trying to do this by turning the header.html and footer.html files into partials.
I've se...
jerome
Votes: 0
Answers: 0
Opening an external html file from a react app
I have a react app, which i make thought create-react-app. I want to make here a link, that will refer to project.html file. I tried to make something like this:
const Portfolio = (props) => {
...
Gleb
Votes: 0
Answers: 2
What is the result of having multiple rules with the same test in Webpack config?
The Webpack documentation on module.rules is quite sparse:
[Rule]
An array of Rules which are matched to requests when modules are created. These rules can modify how the module is created. They can ...
AxD
Votes: 0
Answers: 1
Webpack 5 use html-loader to load svgs
I recently upgraded to Webpack 5 and my html-loader no longer loads svg files and inlines them.
Here's my svg rule in webpack
{
test: /\.svg$/,
use: [
{
loader: 'html-loader',
op...
Christian Pavilonis
Votes: 0
Answers: 3