Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 0903260

Browse files
committed
rebuild Intl.min.js via npm run build
This uses grunt (gruntjs.com).
1 parent 26b5ffb commit 0903260

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

Gruntfile.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = function(grunt) {
2+
3+
grunt.initConfig({
4+
pkg: grunt.file.readJSON('package.json'),
5+
jshint: {
6+
all: ['Intl.js']
7+
},
8+
uglify: {
9+
options: {
10+
preserveComments: 'some'
11+
},
12+
build: {
13+
src: 'Intl.js',
14+
dest: 'Intl.min.js'
15+
}
16+
}
17+
});
18+
19+
grunt.loadNpmTasks('grunt-contrib-jshint');
20+
grunt.loadNpmTasks('grunt-contrib-uglify');
21+
grunt.registerTask('default', ['jshint', 'uglify']);
22+
23+
};

0 commit comments

Comments
 (0)