Skip to content

Commit f41cc84

Browse files
committed
Fix deployment
1 parent 47e91a3 commit f41cc84

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

config/webpack.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ function buildConfig(options) {
8181
},
8282
],
8383
},
84+
externals: {
85+
'async_hooks': 'async_hooks',
86+
},
8487
postcss: () => [
8588
// Auto prefix CSS based on https://github.com/ai/browserslist
8689
autoprefixer({ browsers: ['last 2 versions', 'IE >= 11'] }),

ecosystem.json5

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
deploy: {
44
production: {
55
user: 'www',
6-
host: '163.172.160.79',
6+
host: '212.47.254.51',
77
ref: 'origin/master',
88
repo: 'https://github.com/npms-io/npms-www.git',
99
path: '/home/www/npms-www',
1010
'post-deploy': '\
1111
cp ../parameters.json ./config/ && \
12-
npm update --loglevel http && \
12+
npm update --legacy-peer-deps --loglevel http && \
1313
npm run build && \
1414
mkdir -p ../web && \
1515
rsync -r --delete --exclude .index.html ./web/ ../web/',

0 commit comments

Comments
 (0)