diff --git a/browser/finder/index.js b/browser/finder/index.js index cda861d4..ef42feff 100644 --- a/browser/finder/index.js +++ b/browser/finder/index.js @@ -33,7 +33,7 @@ function notify (title, options) { return new window.Notification(title, options) } -require('../styles/finder/index.styl') +require('!!style!css!stylus?sourceMap!../styles/finder/index.styl') const FOLDER_FILTER = 'FOLDER_FILTER' const FOLDER_EXACT_FILTER = 'FOLDER_EXACT_FILTER' diff --git a/browser/main/index.js b/browser/main/index.js index 6b146c27..9e305ad1 100644 --- a/browser/main/index.js +++ b/browser/main/index.js @@ -3,7 +3,7 @@ import MainPage from './MainPage' import store from './store' import React from 'react' import ReactDOM from 'react-dom' -require('../styles/main/index.styl') +require('!!style!css!stylus?sourceMap!../styles/main/index.styl') import { openModal } from 'browser/lib/modal' import OSSAnnounceModal from './modal/OSSAnnounceModal' import activityRecord from 'browser/lib/activityRecord'