Skip to content

Commit

Permalink
style: fix build issues by fixing purgecss config
Browse files Browse the repository at this point in the history
  • Loading branch information
Valgueiro committed May 22, 2021
1 parent e5f9962 commit 710ae33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/styles/app.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

body {
margin: 0px;
font-family: 'Roboto', sans-serif !important;
Expand Down
2 changes: 2 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const purgeCSS = {
options: {
content: [
// add extra paths here for components/controllers which include tailwind classes
'./app/index.html',
'./app/**/*.hbs',
'./app/components/**/*.hbs',
],
defaultExtractor: (content) => content.match(/[A-Za-z0-9-_:/]+/g) || [],
},
Expand Down

0 comments on commit 710ae33

Please sign in to comment.