File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 30
30
"babel-preset-es2015" : " ^6.24.1" ,
31
31
"clean-webpack-plugin" : " ^0.1.17" ,
32
32
"concurrently" : " ^3.5.0" ,
33
+ "copy-webpack-plugin" : " ^4.2.0" ,
33
34
"jasmine-core" : " ^2.8.0" ,
34
35
"jshint" : " ^2.9.5" ,
35
36
"jshint-loader" : " ^0.8.4" ,
Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' ) ;
2
2
const webpack = require ( 'webpack' ) ;
3
3
const CleanWebpackPlugin = require ( 'clean-webpack-plugin' ) ;
4
+ const CopyWebpackPlugin = require ( 'copy-webpack-plugin' ) ;
4
5
5
6
const packageJSON = require ( '../package.json' ) ;
6
7
@@ -70,7 +71,11 @@ if (ENV === 'production') {
70
71
comments : false ,
71
72
} ,
72
73
include : / \. m i n \. j s $ /
73
- } )
74
+ } ) ,
75
+ new CopyWebpackPlugin ( [
76
+ { from : 'src/ui-scroll-jqlite.js' , to : 'ui-scroll-jqlite.min.js' } ,
77
+ { from : 'src/ui-scroll-jqlite.js' , to : 'ui-scroll-jqlite.js' }
78
+ ] , { copyUnmodified : true } )
74
79
] ,
75
80
76
81
watch : false
You can’t perform that action at this time.
0 commit comments