Merge pull request #16 from moufmouf/docker-compose

Adding docker-compose
This commit is contained in:
David Négrier 2020-04-03 18:48:36 +02:00 committed by GitHub
commit c0e75ae07e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 52 additions and 1 deletions

View file

@ -6,6 +6,8 @@ module.exports = {
devtool: 'inline-source-map',
devServer: {
contentBase: './dist',
host: '0.0.0.0',
disableHostCheck: true,
},
module: {
rules: [
@ -26,6 +28,7 @@ module.exports = {
plugins: [
new webpack.ProvidePlugin({
Phaser: 'phaser'
})
}),
new webpack.EnvironmentPlugin(['API_URL'])
]
};