2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

More config tweaks.

This commit is contained in:
Bardi Harborow
2017-03-21 18:18:11 +11:00
parent 1ecb74e007
commit cab6f7d16c
7 changed files with 9 additions and 38 deletions
+1 -10
View File
@@ -16,17 +16,8 @@ module.exports = function (grunt) {
return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&')
}
var path = require('path')
var isTravis = require('is-travis')
var configBridge = grunt.file.readJSON('./grunt/configBridge.json', { encoding: 'utf8' })
Object.keys(configBridge.paths).forEach(function (key) {
configBridge.paths[key].forEach(function (val, i, arr) {
arr[i] = path.join('./docs', val)
})
})
// Project configuration.
grunt.initConfig({
@@ -75,7 +66,7 @@ module.exports = function (grunt) {
},
dist: {
options: {
extends: '../../js/.babelrc'
extends: '../../.babelrc'
},
files: {
'<%= concat.bootstrap.dest %>' : '<%= concat.bootstrap.dest %>'