Skip to content

Commit

Permalink
Added "Assets" to watch
Browse files Browse the repository at this point in the history
  • Loading branch information
chronoDave committed Oct 21, 2024
1 parent 81cf75e commit bcf8948
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ const config = createConfig(
}
);

const files = config.files.map(file => path.resolve(config.root, file));
const files = [
...config.files.map(file => path.resolve(config.root, file)),
...config.assets.map(file => path.resolve(config.root, file))
];

const bundle = () => {
const ts = performance.now();
run(config);
Expand Down

0 comments on commit bcf8948

Please sign in to comment.