File tree Expand file tree Collapse file tree 4 files changed +2143
-4
lines changed Expand file tree Collapse file tree 4 files changed +2143
-4
lines changed Original file line number Diff line number Diff line change 1
1
//TODO: During next major version bump change to /dist. Leaving at ./form-validator for backwards
2
2
//compatibility
3
3
const DIST_DIR = './form-validator' ;
4
- const MAIN_PLUGIN_FILE = 'form-validator/jquery.form-validator.min .js' ;
4
+ const MAIN_PLUGIN_FILE = './ form-validator/jquery.form-validator.js' ;
5
5
const SRC_DIR = './src' ;
6
6
const MAIN_DIR = '/main/' ;
7
7
const MODULE_DIR = '/modules/' ;
@@ -140,7 +140,12 @@ module.exports = function (grunt) {
140
140
} ;
141
141
142
142
// Add main script to uglify
143
- filesToBuild . uglify [ MAIN_PLUGIN_FILE ] = MAIN_PLUGIN_FILE ;
143
+ filesToBuild . uglify [ MAIN_PLUGIN_FILE ] = {
144
+ src : MAIN_PLUGIN_FILE ,
145
+ expand : true ,
146
+ extDot : 'last' ,
147
+ ext : '.min.js'
148
+ } ;
144
149
145
150
initializeGruntConfig ( grunt , filesToBuild ) ;
146
151
/*
You can’t perform that action at this time.
0 commit comments