Created
March 26, 2019 13:08
-
-
Save ngohungphuc/7021de20ad81c5052f9f6efa27678b2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const merge = require('webpack-merge'); | |
| const baseConfig = require('./webpack.config.js'); | |
| const webpack = require("webpack"); | |
| module.exports = merge(baseConfig, { | |
| plugins: [ | |
| new webpack.DefinePlugin({ | |
| 'process.env': { | |
| 'NODE_ENV': JSON.stringify('development'), | |
| 'BASE_URL': JSON.stringify('http://localhost:5000/') | |
| } | |
| }) | |
| ], | |
| watch: true | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment