Skip to content

Commit 30d595c

Browse files
committed
Fixing the build script
1 parent 78e6c0a commit 30d595c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ const webpackConfig = require('./webpack.config.demo.prod.js');
77
// library
88
gulp.task('copy_styles', function () {
99
return gulp.src('./src/styles/**/*')
10-
.pipe(gulp.dest('./lib'));
10+
.pipe(gulp.dest('./lib/styles'));
1111
});
1212

1313
gulp.task('build', ['copy_styles'], function () {
14-
return gulp.src("./src/index.js")
14+
return gulp.src("./src/*.js")
1515
.pipe(babel())
1616
.pipe(gulp.dest("./lib"));
1717
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-mde",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "A react markdown-editor like Stackoverflow and Github",
55
"main": "index.js",
66
"scripts": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// import some styles here
2-
export default './myAwesomeComponent';
2+
export default './ReactMde';

0 commit comments

Comments
 (0)