Skip to content

Commit c4305db

Browse files
nathanhammondNathan Hammond
authored and
Nathan Hammond
committed
If we ship node_modules, we need to not fingerprint them.
1 parent db9dd48 commit c4305db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

+5
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ module.exports = {
6767
throw new SilentError("This version of ember-cli-fastboot requires a newer version of broccoli-asset-rev");
6868
}
6969

70+
// Prevent fingerprinting node_modules
71+
app.options.fingerprint = app.options.fingerprint || {};
72+
app.options.fingerprint.exclude = app.options.fingerprint.exclude || [];
73+
app.options.fingerprint.exclude.push('node_modules/');
74+
7075
// set autoRun to false since we will conditionally include creating app when app files
7176
// is eval'd in app-boot
7277
app.options.autoRun = false;

0 commit comments

Comments
 (0)