Compare commits

...

5 Commits

Author SHA1 Message Date
Chris 393b04526a 0.0.10 2015-09-16 10:27:34 +02:00
Chris c2b2d99f61 Added support for alternate loaders. 2015-09-16 10:27:22 +02:00
Chris 02ff1ecad6 0.0.9 2015-09-10 14:57:19 +02:00
Chris 12a446f747 0.0.8 2015-09-10 14:56:47 +02:00
Chris 262c0bbc9e Added shortcut for releases 2015-09-10 14:56:24 +02:00
2 changed files with 19 additions and 2 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "react-webpack-template",
"version": "0.0.7",
"version": "0.0.10",
"description": "A base skeleton template for react and webpack without task runners",
"main": "index.js",
"scripts": {
@@ -12,7 +12,8 @@
"dist": "npm run copy & webpack --env=dist",
"lint": "eslint ./src",
"copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist",
"clean": "rimraf dist/*"
"clean": "rimraf dist/*",
"patch-release": "npm version patch && npm publish && git push --follow-tags"
},
"repository": {
"type": "git",
+16
View File
@@ -46,6 +46,22 @@ var config = {
test: /\.css$/,
loader: 'style!css'
},
{
test: /\.sass/,
loader: 'style-loader!css-loader!sass-loader?outputStyle=expanded&indentedSyntax'
},
{
test: /\.scss/,
loader: 'style-loader!css-loader!sass-loader?outputStyle=expanded'
},
{
test: /\.less/,
loader: 'style-loader!css-loader!less-loader'
},
{
test: /\.styl/,
loader: 'style-loader!css-loader!stylus-loader'
},
{
test: /\.(png|jpg|gif|woff|woff2)$/,
loader: 'url-loader?limit=8192'