SCSS Pipeline and style fixes (#229)

* Add SCSS pipeline and fix login style issues

* Fix nav styles and make tests pass

* Fix nav header styles and animations

* Change font-size to 13px on nav

* Fix duplicate specificity of styles
This commit is contained in:
Jason Meller
2016-09-23 14:04:01 -04:00
committed by GitHub
parent 1d5596941a
commit 55307de42d
23 changed files with 220 additions and 134 deletions
+7 -2
View File
@@ -6,8 +6,9 @@ var autoprefixer = require('autoprefixer');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var plugins = [
new webpack.NoErrorsPlugin(),
new webpack.optimize.DedupePlugin(),
new webpack.NoErrorsPlugin(),
new webpack.optimize.DedupePlugin(),
new ExtractTextPlugin("bundle.css", {allChunks: false})
];
if (process.env.NODE_ENV === 'production') {
@@ -39,6 +40,10 @@ var config = {
{test: /\.(png|gif)$/, loader: 'url-loader?name=[name]@[hash].[ext]&limit=6000'},
{test: /\.(pdf|ico|jpg|svg|eot|otf|woff|ttf|mp4|webm)$/, loader: 'file-loader?name=[name]@[hash].[ext]'},
{test: /\.json$/, loader: 'json-loader'},
{
test: /\.scss$/,
loader: ExtractTextPlugin.extract("style-loader", "css-loader!autoprefixer-loader!sass-loader")
},
{
test: /\.jsx?$/,
include: path.join(repo, 'frontend'),