fix server crash in which error 'regeneratorRuntime is not defined' was being thrown
This commit is contained in:
parent
5534f6536a
commit
e81cce1925
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ const nodeExternals = require('webpack-node-externals');
|
|||
|
||||
module.exports = {
|
||||
|
||||
entry: path.resolve(__dirname, '../server/server.js'),
|
||||
entry: ['@babel/polyfill', path.resolve(__dirname, '../server/server.js')],
|
||||
|
||||
output: {
|
||||
path: path.resolve(__dirname, '../dist/'),
|
||||
|
|
Loading…
Reference in a new issue