Skip to content

Commit 66f6cba

Browse files
committed
Merge pull request #535 from benjamn/commoner-cache-buster
Establish a convention for forcing jsx rebuilds.
2 parents affe7f9 + 057c88c commit 66f6cba

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

grunt/config/jsx/jsx.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ var rootIDs = [
1010
var getDebugConfig = function() {
1111
return {
1212
"debug": true,
13+
"commonerConfig": grunt.config.data.pkg.commonerConfig,
1314
"constants": {
1415
"__VERSION__": grunt.config.data.pkg.version,
1516
"__DEV__": true
@@ -33,6 +34,7 @@ var test = {
3334
return {
3435
"debug": true,
3536
"mocking": true,
37+
"commonerConfig": grunt.config.data.pkg.commonerConfig,
3638
"constants": {
3739
"__VERSION__": grunt.config.data.pkg.version,
3840
"__DEV__": true
@@ -49,6 +51,7 @@ var release = {
4951
getConfig: function() {
5052
return {
5153
"debug": false,
54+
"commonerConfig": grunt.config.data.pkg.commonerConfig,
5255
"constants": {
5356
"__VERSION__": grunt.config.data.pkg.version,
5457
"__DEV__": false

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@
6464
"engines": {
6565
"node": ">=0.10.0"
6666
},
67-
"preferGlobal": true
67+
"preferGlobal": true,
68+
"commonerConfig": {
69+
"version": 1
70+
}
6871
}

0 commit comments

Comments
 (0)