Skip to content

Commit

Permalink
Fix client demo video copying
Browse files Browse the repository at this point in the history
  • Loading branch information
hamsterbacke23 committed Apr 27, 2018
1 parent fc340b3 commit 99c1382
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions preact.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export default (config, env, helpers) => {

// File management
fileManagerPluginOptions.onStart = {
delete: ['./build/*.*']
delete: ['./build/*.*'],
copy: []
};
fileManagerPluginOptions.onEnd = {
copy: [
Expand Down Expand Up @@ -82,7 +83,7 @@ export default (config, env, helpers) => {
API_URL = '/SBideo/items-demo.json';
config.output.publicPath = '/SBideo/';

fileManagerPluginOptions.onEnd.copy.push({
fileManagerPluginOptions.onStart.copy.push({
source: './data-clientdemo',
destination: env.dest
});
Expand Down

0 comments on commit 99c1382

Please sign in to comment.