Created
March 26, 2019 13:09
-
-
Save ngohungphuc/7d37c881919d561b59270abd1b93d836 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('production'), | |
| 'BASE_URL': JSON.stringify('https://awesomecmscore.azurewebsites.net/') | |
| } | |
| }) | |
| ] | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment