mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 09:05:17 +00:00
Add Sass support
This commit is contained in:
parent
788830ddad
commit
3431f2ebe8
0
client/app/assets/css/main.scss
Normal file
0
client/app/assets/css/main.scss
Normal file
@ -29,6 +29,7 @@ import './sortable';
|
||||
|
||||
import './assets/css/superflat_redash.css';
|
||||
import './assets/css/redash.css';
|
||||
import './assets/css/main.scss';
|
||||
|
||||
import * as pages from './pages';
|
||||
import * as components from './components';
|
||||
|
@ -57,22 +57,24 @@
|
||||
"underscore.string": "^3.3.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"css-loader": "^0.25.0",
|
||||
"babel-core": "^6.18.0",
|
||||
"babel-loader": "^6.2.7",
|
||||
"babel-preset-es2015": "^6.18.0",
|
||||
"babel-preset-stage-2": "^6.18.0",
|
||||
"css-loader": "^0.25.0",
|
||||
"eslint": "^3.9.0",
|
||||
"eslint-config-airbnb-base": "^9.0.0",
|
||||
"eslint-loader": "^1.6.0",
|
||||
"eslint-plugin-import": "^2.0.1",
|
||||
"raw-loader": "^0.5.1",
|
||||
"webpack-build-notifier": "^0.1.13",
|
||||
"extract-text-webpack-plugin": "^1.0.1",
|
||||
"file-loader": "^0.9.0",
|
||||
"html-webpack-plugin": "^2.24.0",
|
||||
"node-sass": "^4.3.0",
|
||||
"raw-loader": "^0.5.1",
|
||||
"sass-loader": "^4.1.1",
|
||||
"url-loader": "^0.5.7",
|
||||
"webpack": "^1.13.3",
|
||||
"webpack-build-notifier": "^0.1.13",
|
||||
"webpack-dev-server": "^1.16.2"
|
||||
}
|
||||
}
|
||||
|
@ -53,10 +53,13 @@ var config = {
|
||||
module: {
|
||||
loaders: [
|
||||
{test: /\.js$/, loader: 'ng-annotate!babel!eslint', exclude: /node_modules/},
|
||||
{test: /\.html$/, loader: 'raw', exclude: [/node_modules/,/index\.html/]},
|
||||
{test: /\.html$/, loader: 'raw', exclude: [/node_modules/, /index\.html/]},
|
||||
// {test: /\.css$/, loader: 'style!css', exclude: /node_modules/},
|
||||
{test: /\.css$/, loader: ExtractTextPlugin.extract("css-loader") },
|
||||
{test: /\.styl$/, loader: 'style!css!stylus', exclude: /node_modules/},
|
||||
{test: /\.css$/, loader: ExtractTextPlugin.extract("css-loader")},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
loader: ExtractTextPlugin.extract(["css-loader", "sass-loader"])
|
||||
},
|
||||
{
|
||||
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
|
||||
loader: 'url',
|
||||
|
Loading…
Reference in New Issue
Block a user