mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-08 20:38:12 +10:00
build: update build config
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"presets": ["es2015", "react", "stage-0"],
|
||||
"plugins": [
|
||||
"add-module-exports"
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -20,7 +20,7 @@ function addLocales(webpackConfig) {
|
||||
}
|
||||
|
||||
module.exports = function (webpackConfig) {
|
||||
webpackConfig = getWebpackConfig(webpackConfig);
|
||||
webpackConfig = getWebpackConfig(webpackConfig, true);
|
||||
if (process.env.RUN_ENV === 'PRODUCTION') {
|
||||
webpackConfig.forEach((config) => {
|
||||
ignoreMomentLocale(config);
|
||||
|
||||
Reference in New Issue
Block a user