forked from wallabag/wallabag
Rename material entrypoint to main
This commit is contained in:
@ -6,7 +6,7 @@ const projectDir = path.resolve(__dirname, '../../../');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
material: path.join(projectDir, './assets/index.js'),
|
||||
main: path.join(projectDir, './assets/index.js'),
|
||||
public: path.join(projectDir, './assets/share.js'),
|
||||
},
|
||||
output: {
|
||||
|
||||
@ -3,13 +3,13 @@
|
||||
{% block css %}
|
||||
{{ parent() }}
|
||||
{% if not app.debug %}
|
||||
<link rel="stylesheet" href="{{ asset('wallassets/material.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('wallassets/main.css') }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{{ parent() }}
|
||||
<script src="{{ asset('wallassets/material' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
|
||||
<script src="{{ asset('wallassets/main' ~ (app.debug ? '.dev' : '') ~ '.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
|
||||
Reference in New Issue
Block a user