mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-24 09:25:53 +02:00
Unfuck bundler.
This commit is contained in:
parent
4b612c0810
commit
1eb01af8a7
|
@ -132,6 +132,7 @@ async function bundle(inputDir, outputDir, watch) {
|
||||||
bundleHTML(inputDir, outputDir, false, watch, (filePath, isDir, data) => {
|
bundleHTML(inputDir, outputDir, false, watch, (filePath, isDir, data) => {
|
||||||
if (isDir) return false;
|
if (isDir) return false;
|
||||||
if (filePath.endsWith("style.css")) return true;
|
if (filePath.endsWith("style.css")) return true;
|
||||||
|
if (data.includes(`require("`)) return true;
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user