File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
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 )
@@ -291,9 +293,6 @@ def install_application(self):
291293
292294 myenv ['HEROKU_ASSETS_VERSION' ] = self .deploy_date .strftime ("%Y%m%d%H%M%S" )
293295
294- #temporary hack to fix assetic deployment with less
295- myenv ['SDZ_NODE_LIBRARIES' ] = self ._bp .build_dir + '/node_modules'
296-
297296 # Composer
298297 # check if we have Composer dependencies and vendors are not bundled
299298 if os .path .isfile ('www/composer.json' ):
You can’t perform that action at this time.
0 commit comments