File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,11 @@ def install_application(self):
251251 os .symlink (self ._bp .build_dir + '/vendor/php' , '/app/vendor/php' )
252252
253253 # This is clearly a hack but it allows Node to work during compilation time
254- self .logger .log ('Symlink /app/vendor/node (hacky but needed)' )
254+ self .logger .log ('Symlink /app/vendor/node and /app/node_modules (hacky but needed)' )
255255 if not os .path .isdir ('/app/vendor/node' ):
256256 os .symlink (self ._bp .build_dir + '/vendor/node' , '/app/vendor/node' )
257+ if not os .path .isdir ('/app/node_modules' ):
258+ os .symlink (self ._bp .build_dir + '/node_modules' , '/app/node_modules' )
257259
258260
259261 myenv = dict (os .environ )
@@ -292,7 +294,7 @@ def install_application(self):
292294 myenv ['HEROKU_ASSETS_VERSION' ] = self .deploy_date .strftime ("%Y%m%d%H%M%S" )
293295
294296 #temporary hack to fix assetic deployment with less
295- myenv ['SDZ_NODE_LIBRARIES' ] = self ._bp .build_dir + '/node_modules'
297+ # myenv['SDZ_NODE_LIBRARIES'] = self._bp.build_dir + '/node_modules'
296298
297299 # Composer
298300 # check if we have Composer dependencies and vendors are not bundled
You can’t perform that action at this time.
0 commit comments