Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
fix: Fix postcss build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahBres committed Sep 12, 2019
1 parent c7dcd43 commit 621e63b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<html>
<head>
<title>Radical Raiders</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>

<link href="styles/base.css" rel="stylesheet" />
<link href="styles/main.css" rel="stylesheet" />
<link href="styles/main.css" text="text/css" rel="stylesheet" />
</head>
<body>
<nav
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "parcel index.html",
"build:prod": "parcel build index.html"
"build": "parcel build index.html"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable global-require */
const purgecss = require("@fullhuman/postcss-purgecss")({
content: ["**/*.html", "**/*.js"],
content: ["**/*.html", "./src/**/*.js"],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
});

Expand Down
5 changes: 0 additions & 5 deletions styles/base.css

This file was deleted.

5 changes: 5 additions & 0 deletions styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@tailwind base;

@tailwind components;

@tailwind utilities;

0 comments on commit 621e63b

Please sign in to comment.