Skip to content

Commit

Permalink
add ENV=prod in netlify.toml, remove IE check
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Robinson committed Jul 27, 2020
1 parent 7a56830 commit 5988e5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 4 additions & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[build]
publish = "dist"
command = "npm run build"
command = "npm run build"

[build.environment]
NODE_ENV = "production"
7 changes: 0 additions & 7 deletions src/_includes/layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@

</head>
<body class="{{ settings.colors.background | default('bg-gray-800',true) }}">
<!--[if lt IE 7]>
<p class="browsehappy">
You are using an <strong>outdated</strong> browser. Please
<a href="https://brave.com/">upgrade your browser</a> to improve your
experience.
</p>
<![endif]-->

<!-- NAV -->
{% include "components/nav.njk" %}
Expand Down

0 comments on commit 5988e5e

Please sign in to comment.