Added filter, changed output target

This commit is contained in:
Brian Duggan 2018-05-24 10:38:30 -04:00
parent de0fce88f1
commit 4868c4236f
2 changed files with 1 additions and 2 deletions

2
app.py
View File

@ -9,7 +9,7 @@ from webassets import Environment, Bundle
static_path = os.path.join(os.path.dirname(__file__), "static") static_path = os.path.join(os.path.dirname(__file__), "static")
scss_path = os.path.join(os.path.dirname(__file__), "scss") scss_path = os.path.join(os.path.dirname(__file__), "scss")
assets = Environment(directory=scss_path, url='/static') assets = Environment(directory=scss_path, url='/static')
css = Bundle('atat.scss', output='assets/out.css') css = Bundle('atat.scss', filters='scss', output='../static/assets/out.css')
assets.register('css', css) assets.register('css', css)
helpers = { helpers = {
'assets': assets 'assets': assets

View File

@ -23,7 +23,6 @@
these are not the droids you are looking for these are not the droids you are looking for
{% end %} {% end %}
</div> </div>
<script src="static/uswds-1.6.3/js/uswds.min.js"></script>
</body> </body>
</html> </html>