mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-21 23:38:31 +00:00
remove config boilerplate
This commit is contained in:
parent
fa964a56d4
commit
4345497a6d
@ -1,2 +0,0 @@
|
||||
// Settings configured here will be merged into the final config object.
|
||||
export default {}
|
@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
import baseConfig from './base';
|
||||
|
||||
let config = {
|
||||
BASE_API: 'http://localhost:3333/api/v1'
|
||||
};
|
||||
|
||||
export default Object.freeze(Object.assign({}, baseConfig, config));
|
@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
import baseConfig from './base';
|
||||
|
||||
let config = {
|
||||
BASE_API: 'http://localhost:3333/api/v1' /// your base api for XHR
|
||||
};
|
||||
|
||||
export default Object.freeze(Object.assign({}, baseConfig, config));
|
@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
import baseConfig from './base';
|
||||
|
||||
let config = {
|
||||
appEnv: 'test' // don't remove the appEnv property here
|
||||
};
|
||||
|
||||
export default Object.freeze(Object.assign(baseConfig, config));
|
@ -31,8 +31,7 @@ module.exports = {
|
||||
components: `${config.srcPath}/components/`,
|
||||
containers: `${config.srcPath}/containers/`,
|
||||
styles: `${config.srcPath}/styles/`,
|
||||
less_vars: `${config.srcPath}/styles/etherwallet-variables.less`,
|
||||
config: `${config.srcPath}/config/` + process.env.REACT_WEBPACK_ENV
|
||||
less_vars: `${config.srcPath}/styles/etherwallet-variables.less`
|
||||
},
|
||||
modules: [
|
||||
// places where to search for required modules
|
||||
|
@ -1,6 +1,5 @@
|
||||
'use strict'
|
||||
process.env.NODE_ENV = 'development'
|
||||
process.env.REACT_WEBPACK_ENV = 'dev'
|
||||
|
||||
const webpack = require('webpack')
|
||||
const base = require('./webpack.base')
|
||||
|
@ -1,6 +1,5 @@
|
||||
'use strict'
|
||||
process.env.NODE_ENV = 'production'
|
||||
process.env.REACT_WEBPACK_ENV = 'dist'
|
||||
|
||||
const exec = require('child_process').execSync
|
||||
const webpack = require('webpack')
|
||||
|
Loading…
x
Reference in New Issue
Block a user