Process main.scss in html so parcel shares the output

This commit is contained in:
Robbie Antenesse 2019-06-03 11:50:39 -06:00
parent f112e3b143
commit cf2ab82b12
4 changed files with 2 additions and 3 deletions

View File

@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lexiconga</title> <title>Lexiconga</title>
<link rel="stylesheet" href="src/main.scss" />
<script src="src/index.js"></script> <script src="src/index.js"></script>
</head> </head>
<body id="defaultTheme"> <body id="defaultTheme">

View File

@ -1,5 +1,3 @@
import './main.scss';
import setupListeners from './js/setupListeners'; import setupListeners from './js/setupListeners';
import { renderAll } from './js/render'; import { renderAll } from './js/render';
import { hasToken } from './js/utilities'; import { hasToken } from './js/utilities';

View File

@ -1,4 +1,3 @@
import '../../main.scss';
import { renderAll } from './render'; import { renderAll } from './render';
import setupListeners from './setupListeners'; import setupListeners from './setupListeners';

View File

@ -11,6 +11,7 @@
<meta property="og:description" content="A Lexiconga dictionary by {{public_name}}" /> <meta property="og:description" content="A Lexiconga dictionary by {{public_name}}" />
<!--meta property="og:image" content="http://lexicon.ga/images/logo.svg" /--> <!--meta property="og:image" content="http://lexicon.ga/images/logo.svg" /-->
<script>window.currentDictionary = JSON.parse('{{dict_json}}');</script> <script>window.currentDictionary = JSON.parse('{{dict_json}}');</script>
<link rel="stylesheet" href="src/main.scss" />
<script src="src/js/view/index.js"></script> <script src="src/js/view/index.js"></script>
</head> </head>
<body id="defaultTheme"> <body id="defaultTheme">