mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-19 11:27:34 +08:00
Refactoring: Removed lodash as dependency, refactored webpack config (including minor speed improvements)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
// Settings configured here will be merged into the final config object.
|
||||
export default {
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
import baseConfig from './base';
|
||||
|
||||
|
||||
let config = {
|
||||
appEnv: 'dev' // feel free to remove the appEnv property here
|
||||
};
|
||||
|
||||
@@ -2,10 +2,8 @@
|
||||
|
||||
import baseConfig from './base';
|
||||
|
||||
|
||||
let config = {
|
||||
appEnv: 'dist' // feel free to remove the appEnv property here
|
||||
};
|
||||
|
||||
export default Object.freeze(Object.assign({}, baseConfig, config));
|
||||
|
||||
|
||||
@@ -2,10 +2,8 @@
|
||||
|
||||
import baseConfig from './base';
|
||||
|
||||
|
||||
let config = {
|
||||
appEnv: 'test' // don't remove the appEnv property here
|
||||
};
|
||||
|
||||
export default Object.freeze(Object.assign(baseConfig, config));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user