Webpack Uglify plugin returns “Killed” on Ubuntu

后端 未结 4 516
[愿得一人]
[愿得一人] 2021-02-04 05:42

On my remote server (Ubuntu 14.04 x64), whenever I try to uglify my bundles, the process simply returns \"Killed\". When I don\'t uglify, it\'s just fine.

Has anyone ru

4条回答
  •  春和景丽
    2021-02-04 06:29

    You can also run ng build on your local machine and then copy the dist folder to your remote like this:

    scp -r path/to/local/folder user@x.x.x.x:/path/to/remote/folder
    

提交回复
热议问题