Skip to content

Commit

Permalink
Merge pull request #21 from chronoDave/#20
Browse files Browse the repository at this point in the history
Added "Assets" to watch
  • Loading branch information
chronoDave authored Oct 21, 2024
2 parents 81cf75e + bcf8948 commit 2797ced
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 2797ced

Please sign in to comment.