Skip to content

Commit

Permalink
0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Wooleners committed Dec 5, 2015
1 parent 10e348a commit 17f1986
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
21 changes: 8 additions & 13 deletions boilerplate/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,20 @@ module.exports = {
module: {
loaders: [{
test: /\.less$/,
loader: ExtractTextPlugin.extract(
'css?sourceMap&-minimize!' + 'autoprefixer-loader!' + 'less?sourceMap'
)
}, {
test: /\.css$/,
loader: ExtractTextPlugin.extract(
'style!css?modules&localIdentName=[name]---[local]---[hash:base64:5]'
)
loader: ['style', 'css?root='+__dirname, 'resolve-url', 'less']
}, {
test: /\.jsx?$/,
loaders: ['react-hot', 'jsx?harmony', 'babel'],
exclude: /node_modules/
}, {
test: /\.(jp?g|gif|png|woff|ico)$/,
loader: 'url-loader?limit=10000&name=[name].[hash:8].[ext]'
test: /\.(jpe?g|gif|png|ico)$/,
loader: 'url?limit=1024&name=images/[name].[hash:4].[ext]'
}, {
test: /\.(woff2?|otf|eot|svg|ttf)$/i,
loader: 'url?name=fonts/[name].[hash:4].[ext]'
}, {
test: /\.json$/,
loader: 'json-loader'
loader: 'json'
}]
},
resolve: {
Expand All @@ -56,6 +52,5 @@ module.exports = {
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('development')
})
],
devtool: 'eval-source-map'
]
};
3 changes: 2 additions & 1 deletion boilerplate/webpack.deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,6 @@ module.exports = {
},
postcss: [
require('autoprefixer')
]
],
devtool: 'soure-map'
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "saller-init",
"version": "0.2.8",
"version": "0.2.9",
"description": "saller boilerplate generator.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 17f1986

Please sign in to comment.