Skip to content

Commit

Permalink
Remove Coffeescript
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Sep 21, 2015
1 parent 66fcb6d commit e875c48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 2 additions & 4 deletions karma.conf.js
Expand Up @@ -20,10 +20,8 @@ module.exports = function (config) {
resolve: { extensions: ['', '.jsx', '.cjsx', '.coffee', '.js', '.json', '.styl'] },
module: {
loaders: [
{ test: /(\.js|\.jsx)$/, exclude: /(node_modules)/, loader: 'babel'},
{ test: /\.cjsx$/, loader: 'coffee-jsx-loader'},
{ test: /\.coffee$/, loader: 'coffee-jsx-loader'},
{ test: /\.styl$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[hash:base64:5]!stylus-loader')}
{ test: /(\.js|\.jsx)$/, exclude: /(node_modules)/, loader: 'babel' },
{ test: /\.styl$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[hash:base64:5]!stylus-loader') }
]
},
watch: true,
Expand Down
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -24,15 +24,13 @@
"keywords" : [ "react", "react-component", "material design", "toolkit", "components"],
"license" : "MIT",
"dependencies" : {
"coffee-script" : "*",
"react" : "^0.13.2"
},
"devDependencies": {
"autoprefixer-core" : "^5.1.11",
"babel-core" : "^5.8.23",
"babel-loader" : "^5.3.2",
"babel-runtime" : "^5.8.20",
"coffee-jsx-loader" : "^0.1.2",
"css-loader" : "^0.14.5",
"eslint" : "^1.3.1",
"eslint-plugin-react" : "^3.3.1",
Expand Down
6 changes: 2 additions & 4 deletions webpack.config.js
Expand Up @@ -26,10 +26,8 @@ module.exports = {
module: {
noParse: [node_modules + '/react/dist/*.js'],
loaders: [
{ test: /(\.js|\.jsx)$/, exclude: /(node_modules)/, loader: 'babel?optional=runtime'},
{ test: /\.cjsx$/, loader: 'coffee-jsx-loader'},
{ test: /\.coffee$/, loader: 'coffee-jsx-loader'},
{ test: /\.styl$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader!stylus-loader!')}
{ test: /(\.js|\.jsx)$/, exclude: /(node_modules)/, loader: 'babel?optional=runtime' },
{ test: /\.styl$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss-loader!stylus-loader!') }
]
},
postcss: [require('autoprefixer-core')],
Expand Down

0 comments on commit e875c48

Please sign in to comment.