File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import zhCnNames from './names'
2
- import addressJson from './provinceList '
2
+ import addressJson from './pca-code.json '
3
3
4
4
const log = ( ...infos ) => {
5
5
if ( process . env . NODE_ENV !== 'production' ) {
@@ -41,7 +41,7 @@ const provinceString = JSON.stringify(provinces)
41
41
const cityString = JSON . stringify ( cities )
42
42
const areaString = JSON . stringify ( areas )
43
43
44
- log ( provinces )
44
+ log ( areas )
45
45
log ( cities )
46
46
47
47
log ( provinces . length + cities . length + areas . length )
Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' ) ;
2
- const merge = require ( 'webpack-merge' ) ;
2
+ const { merge } = require ( 'webpack-merge' ) ;
3
3
const { CleanWebpackPlugin } = require ( 'clean-webpack-plugin' ) ;
4
4
const webpackConfig = require ( './webpack.config' ) ;
5
5
Original file line number Diff line number Diff line change 1
- const merge = require ( 'webpack-merge' ) ;
1
+ const { merge } = require ( 'webpack-merge' ) ;
2
2
const webpackConfig = require ( './webpack.config' ) ;
3
3
4
4
module . exports = merge ( webpackConfig , {
You can’t perform that action at this time.
0 commit comments