Added filter, changed output target
This commit is contained in:
parent
de0fce88f1
commit
4868c4236f
2
app.py
2
app.py
@ -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
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user