Last active
April 22, 2019 11:56
-
-
Save davidnguyen11/25c780452f68ab2fa63dab0a38f995c1 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 version = require('package.json').version; | |
| const config = { | |
| development: { | |
| assetPrefix: '' | |
| }, | |
| staging: { | |
| assetPrefix: `https://static.com/CHOTOT_VEHICLE_STAGING/${version}` | |
| }, | |
| production: { | |
| assetPrefix: `https://static.com/CHOTOT_VEHICLE_PRODUCTION/${version}` | |
| } | |
| }; | |
| module.exports = config; |
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 config = require('./config').config; | |
| module.exports = { | |
| assetPrefix: config.assetPrefix, | |
| generateBuildId: async () => { | |
| return 'build'; | |
| }, | |
| webpack(config, options) { | |
| return config; | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment