Skip to content

Commit eb43862

Browse files
add support for django-webpack-loader
1 parent 5f08b90 commit eb43862

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

defaults/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ source_dir: "{{ root_dir }}/src"
44
project_user: "{{ project_name }}"
55
ignore_devdependencies: false
66
npm_run_command: build
7+
uses_webpack_loader: false

tasks/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@
2323
become_user: "{{ project_user }}"
2424
vars:
2525
ansible_ssh_pipelining: true
26+
27+
- name: cp webpack-stats.json webpack-stats-live.json
28+
command: cp webpack-stats.json webpack-stats-live.json
29+
become_user: "{{ project_user }}"
30+
when: uses_webpack_loader

0 commit comments

Comments
 (0)