move common files to folder /common/
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ import { h, render } from 'preact';
|
||||
import 'babel-polyfill'; // TODO: remove it
|
||||
import 'mimic'; // TODO: it's for dev only
|
||||
|
||||
import './polyfills'; // TODO: check it
|
||||
import 'common/polyfills'; // TODO: check it
|
||||
|
||||
import Root from './components/root';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import './promises';
|
||||
import 'common/promises';
|
||||
|
||||
// TODO: i think we need to use unfetch here instead of heavy axios
|
||||
import axios from 'axios';
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component } from 'preact';
|
||||
import fetcher from 'fetcher';
|
||||
import fetcher from 'common/fetcher';
|
||||
|
||||
export default class Root extends Component {
|
||||
componentDidMount() {
|
||||
|
||||
+2
-4
@@ -1,8 +1,6 @@
|
||||
import tmpl from 'blueimp-tmpl';
|
||||
import { nodeId } from './common/settings';
|
||||
|
||||
import { nodeId } from './settings';
|
||||
|
||||
import fetcher from './fetcher';
|
||||
import fetcher from './common/fetcher';
|
||||
|
||||
let node = null;
|
||||
let afterInit = null;
|
||||
|
||||
Reference in New Issue
Block a user