Explorar el Código

do not commit actual webpack.config.dev.js

pull/48/head
Jonathan Cobb hace 4 años
padre
commit
6e0c408113
Se han modificado 2 ficheros con 8 adiciones y 4 borrados
  1. +1
    -0
      .gitignore
  2. +7
    -4
      webpack.config.dev-example.js

+ 1
- 0
.gitignore Ver fichero

@@ -37,3 +37,4 @@ typings
dist
*~
.DS_Store
webpack.config.dev.js

webpack.config.dev.js → webpack.config.dev-example.js Ver fichero

@@ -2,15 +2,18 @@
* Copyright (c) 2020 Bubble, Inc. All rights reserved.
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/
*/

// -------------------------------------------------------------
// Copy this file to webpack.config.dev.js to use in development
// -------------------------------------------------------------

const webpackMerge = require('webpack-merge');

module.exports = webpackMerge.merge(require('./webpack.config.js'), {
mode: 'development',
devServer: {
proxy: {
// '/api': 'http://beta.bubv.net:8888',
'/api': 'http://shent-ih538-8m85f-rj97o.bubv.net'
// '/api': 'https://beta.bubv.net/',
},
'/api': 'http://example.com:8888' // change this to wherever your bubble API is running
}
},
});

Cargando…
Cancelar
Guardar