mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-06-28 02:30:46 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 393b04526a | |||
| c2b2d99f61 | |||
| 02ff1ecad6 | |||
| 12a446f747 | |||
| 262c0bbc9e |
+3
-2
@@ -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",
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user