Browse Source

build fix (wip)

all-modes
pbca26 8 years ago
parent
commit
9319abf1da
  1. 7
      react/src/styles/index.scss
  2. 9
      react/webpack.config.js

7
react/src/styles/index.scss

@ -1,7 +1,3 @@
@import '../components/addcoin/addcoin.scss';
@import '../components/dashboard/dashboard.scss';
@import '../components/login/login.scss';
@import '../assets/global/css/bootstrap.min.css';
@import '../assets/global/css/bootstrap-extend.min.css';
@import '../assets/global/css/alertify.css';
@ -34,6 +30,9 @@
@import '../assets/global/fonts/brand-icons/brand-icons.min.css';
@import '../assets/skins/orange.min.css';
@import '../../node_modules/rc-tree/assets/index.css';
@import '../components/addcoin/addcoin.scss';
@import '../components/dashboard/dashboard.scss';
@import '../components/login/login.scss';
#app > div {
height: 100%;

9
react/webpack.config.js

@ -122,7 +122,14 @@ if (isProduction) {
test: /\.scss$/,
loader: ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader!postcss-loader!sass-loader!file-loader!url-loader',
use: [
'style-loader',
'css-loader',
'postcss-loader',
'sass-loader'
//'file-loader',
//'url-loader'
]
}),
}
);

Loading…
Cancel
Save