-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
708af33
commit f08f586
Showing
10 changed files
with
52 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 3,4 @@ | |
.DS_Store | ||
node_modules | ||
public | ||
guide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 1,6 @@ | ||
'use strict'; | ||
const core = require('./core.config'); | ||
module.exports = { | ||
// "path/from": "/path/to" | ||
"src/lib/**/*": "public/assets/lib" | ||
}; | ||
// 'path/from': '/path/to' | ||
'src/lib/**/*': core.basePath '/assets/lib' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,3 @@ | ||
module.exports = { | ||
basePath: 'public' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 1,6 @@ | ||
'use strict'; | ||
const core = require('./core.config'); | ||
module.exports = { | ||
src: 'src/images/*.{gif,jpg,png}', // 読み込むイメージ | ||
dest: 'public/assets/images' // 出力先 | ||
}; | ||
dest: core.basePath '/assets/images' // 出力先 | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 1,24 @@ | ||
'use strict'; | ||
const core = require('./core.config'); | ||
const SUPPORT_BROWSERS = [ | ||
'last 3 version', | ||
'ie >= 9', | ||
'Android >= 4.0' | ||
]; | ||
module.exports = { | ||
src: 'src/sass/**/*.scss', // 読み込むscss | ||
dest: 'public/assets/css', // 出力先 | ||
dest: core.basePath '/assets/css', // 出力先 | ||
plugins: [ // postcssプラグイン | ||
require('autoprefixer')({ // autoprefixer(https://github.com/postcss/autoprefixer) | ||
browsers: SUPPORT_BROWSERS | ||
}) | ||
] | ||
}; | ||
], | ||
styleguide: { | ||
title: 'StyleGuide', | ||
verbose: false, | ||
clean: true, | ||
params: {}, | ||
css: '../public/assets/css/style.css', | ||
// script: '../public/assets/js/app.js', | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,3 @@ | ||
<div> | ||
<%= title%> | ||
</div> |