Skip to content

Commit

Permalink
Improve: __dirnameを使用する
Browse files Browse the repository at this point in the history
Fractalでは`__dirname`の使用を推奨している。

#258
  • Loading branch information
manabuyasuda committed Jul 12, 2019
1 parent 06f5e4a commit 0dea855
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ const gulpSvgSprite = require('gulp-svg-sprite');
const fractal = require('@frctl/fractal').create();

fractal.set('project.title', 'Styleguide');
fractal.components.set('path', './src/styleguide/components');
fractal.docs.set('path', './src/styleguide/docs');
fractal.web.set('builder.dest', './htdocs/styleguide');
fractal.components.set('path', __dirname + '/src/styleguide/components');
fractal.docs.set('path', __dirname + '/src/styleguide/docs');
fractal.web.set('builder.dest', __dirname + '/htdocs/styleguide');
fractal.web.set('server.sync', true);
fractal.web.set('server.watch', true);
fractal.web.set('server.syncOptions', {
Expand Down

0 comments on commit 0dea855

Please sign in to comment.