File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ import React from 'react';
22import ReactDOM from 'react-dom' ;
33import { Provider } from 'react-redux' ;
44import { MuiThemeProvider } from '@material-ui/core/styles' ;
5+ import * as Sentry from '@sentry/react' ;
6+ import { Integrations } from '@sentry/tracing' ;
57import { NetPyNE } from './components' ;
68import theme from './theme' ;
79import store from './redux/store' ;
8- import * as Sentry from "@sentry/react" ;
9- import { Integrations } from "@sentry/tracing" ;
10+ import '@metacell/geppetto-meta-ui/flex-layout/style/dark.scss' ;
1011
1112global . GEPPETTO_CONFIGURATION = require ( './GeppettoConfiguration.json' ) ;
1213const { initGeppetto } = require ( '@metacell/geppetto-meta-client/GEPPETTO' ) ;
Original file line number Diff line number Diff line change 8383 "less" : " ^3.11.1" ,
8484 "less-loader" : " ^5.0.0" ,
8585 "mini-css-extract-plugin" : " ^0.7.0" ,
86+ "postcss-flexbugs-fixes" : " 4.2.1" ,
87+ "postcss-loader" : " 3.0.0" ,
88+ "postcss-normalize" : " 8.0.1" ,
89+ "postcss-preset-env" : " 6.7.0" ,
90+ "postcss-safe-parser" : " 5.0.2" ,
8691 "raw-loader" : " ^0.5.1" ,
8792 "react-resize-detector" : " ^6.7.4" ,
93+ "sass" : " ^1.32.12" ,
94+ "sass-loader" : " ^10.0.5" ,
8895 "slimerjs" : " ^1.0.0" ,
8996 "source-map-loader" : " ^0.2.3" ,
9097 "style-loader" : " ^0.13.2" ,
Original file line number Diff line number Diff line change @@ -181,7 +181,14 @@ module.exports = function (env) {
181181 { loader : 'css-loader' } ,
182182 ] ,
183183 } ,
184-
184+ {
185+ test : / \. s [ a | c ] s s $ / ,
186+ use : [
187+ 'style-loader' , // 3. Inject styles into DOM
188+ 'css-loader' , // 2. Turns css into commonjs
189+ 'sass-loader' , // 1. Turns sass into css
190+ ] ,
191+ } ,
185192 {
186193 test : / \. l e s s $ / ,
187194 use : [
You can’t perform that action at this time.
0 commit comments