Skip to content

Commit 602835b

Browse files
committed
chore: Change inconsistent synthax highlighting in readme
1 parent f15c921 commit 602835b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Bundling CSS with webpack has some nice advantages like referencing images and f
3535

3636
With the extract-loader, you are able to reference your `main.css` as regular `entry`. The following `webpack.config.js` shows how to load your styles with the [style-loader](https://github.com/webpack/style-loader) in development and as separate file in production.
3737

38-
```javascript
38+
```js
3939
const live = process.env.NODE_ENV === "production";
4040
const mainCss = ["css-loader", path.join(__dirname, "app", "main.css")];
4141

@@ -58,7 +58,7 @@ module.exports = {
5858

5959
You can even add your `index.html` as `entry` and just reference your stylesheets from there. You just need to tell the html-loader to also pick up `link:href`:
6060

61-
```javascript
61+
```js
6262
const indexHtml = path.join(__dirname, "app", "index.html");
6363

6464
module.exports = {

0 commit comments

Comments
 (0)