diff --git a/bin.js b/bin.js index 406df0e..6659984 100644 --- a/bin.js +++ b/bin.js @@ -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);