diff options
| author | XhmikosR <[email protected]> | 2015-08-25 08:27:01 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2015-08-25 08:27:01 +0300 |
| commit | 108ef992d9fb73dae835eeb8ff80cbec70d4c40f (patch) | |
| tree | 8d042be0c0d6b2e587d3321c6c87c63898d46e1b /grunt | |
| parent | a0ba1f1f6223ff6b34cbedb42fc06da95bbf2d6c (diff) | |
| download | bootstrap-108ef992d9fb73dae835eeb8ff80cbec70d4c40f.tar.xz bootstrap-108ef992d9fb73dae835eeb8ff80cbec70d4c40f.zip | |
grunt/bs-commonjs-generator.js: reapply the fix for Windows slashes.
[ci skip]
Diffstat (limited to 'grunt')
| -rw-r--r-- | grunt/bs-commonjs-generator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grunt/bs-commonjs-generator.js b/grunt/bs-commonjs-generator.js index 402a7b742..af85f4772 100644 --- a/grunt/bs-commonjs-generator.js +++ b/grunt/bs-commonjs-generator.js @@ -16,7 +16,7 @@ module.exports = function generateCommonJSModule(grunt, srcFiles, destFilepath) var destDir = path.dirname(destFilepath); function srcPathToDestRequire(srcFilepath) { - return 'require(\'' + srcFilepath + '\')'; + return 'require(\'' + srcFilepath.replace(/\\/g, '/') + '\')'; } var moduleOutputJs = COMMONJS_BANNER + srcFiles.map(srcPathToDestRequire).join('\n'); |
