mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Rename material entrypoint to main
This commit is contained in:
parent
22c9497cd7
commit
5e8ca0887e
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ const projectDir = path.resolve(__dirname, '../../../');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
material: path.join(projectDir, './assets/index.js'),
|
main: path.join(projectDir, './assets/index.js'),
|
||||||
public: path.join(projectDir, './assets/share.js'),
|
public: path.join(projectDir, './assets/share.js'),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
{% block css %}
|
{% block css %}
|
||||||
{{ parent() }}
|
{{ parent() }}
|
||||||
{% if not app.debug %}
|
{% if not app.debug %}
|
||||||
<link rel="stylesheet" href="{{ asset('wallassets/material.css') }}">
|
<link rel="stylesheet" href="{{ asset('wallassets/main.css') }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ parent() }}
|
{{ parent() }}
|
||||||
<script src="{{ asset('wallassets/material' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
|
<script src="{{ asset('wallassets/main' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue