Skip to content

Commit

Permalink
remove stylus from project
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jan 28, 2015
1 parent 2436a0f commit 17868e4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion gulpfile.js
Expand Up @@ -35,14 +35,16 @@ gulp.task('webpack', function(callback) {

gulp.task('server', function() {
browserSync({
open: false,
notify: false,
server: {
baseDir: ['example', 'dist']
}
});
});

gulp.task('watch', function() {
gulp.watch('./lib/**/*.{styl,jsx}', ['webpack']);
gulp.watch('./lib/**/*.{css,jsx}', ['webpack']);
});

gulp.task('default', ['webpack', 'server', 'watch']);
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -58,7 +58,6 @@
"lodash": "^2.4.1",
"react-tools": "^0.12.2",
"style-loader": "^0.8.1",
"stylus-loader": "^0.4.0",
"webpack": "^1.4.4"
}
}
6 changes: 3 additions & 3 deletions webpack.config.js
Expand Up @@ -41,15 +41,15 @@ module.exports = {
test: /\.(js|jsx)$/,
loader: 'jsx-loader?insertPragma=React.DOM'
}, {
test: /\.styl$/,
test: /\.css/,
loader: ExtractTextPlugin.extract(
'style-loader',
'!css-loader!stylus-loader'
'!css-loader'
)
}]
},
resolve: {
extensions: ['', '.js', '.jsx', '.styl']
extensions: ['', '.js', '.jsx']
},
plugins: [
new webpack.DefinePlugin({
Expand Down

0 comments on commit 17868e4

Please sign in to comment.