Skip to content

Commit db9dd48

Browse files
nathanhammondNathan Hammond
authored andcommitted
Bundle node_modules.
1 parent 3140fdd commit db9dd48

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/broccoli/fastboot-config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,11 @@ module.exports = class FastBootConfig extends Plugin {
195195
path.join(this.outputPath, 'package-lock.json')
196196
);
197197

198+
fs.renameSync(
199+
path.join(tmpFolder, 'node_modules'),
200+
path.join(this.outputPath, 'node_modules')
201+
);
202+
198203
const removeTmpFolder = new Promise((resolve, reject) => {
199204
rimraf(tmpFolder, (error) => {
200205
if (error) {

0 commit comments

Comments
 (0)