refactor: remove webpack aliases

This commit is contained in:
Xymorot 2019-08-02 00:05:04 +02:00
parent 254e4216e6
commit 28cfe93d73
3 changed files with 4 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<script>
import NhentaiLogin from 'polymers/NhentaiLogin.svelte';
import NhentaiLogin from './components/3-polymers/NhentaiLogin.svelte';
</script>
<style>

View File

@ -1,8 +1,8 @@
<script>
import { onMount } from 'svelte/internal';
import { t } from 'services/utils';
import Bttn from 'atoms/Bttn.svelte';
import { loggedIn } from 'services/store';
import { t } from '../../services/utils';
import Bttn from '../1-atoms/Bttn.svelte';
import { loggedIn } from '../../services/store';
let form = {
name: '',

View File

@ -36,14 +36,5 @@ module.exports = {
},
resolve: {
extensions: ['.js', '.ts', '.mjs'],
alias: {
atoms: path.resolve(__dirname, 'src/renderer/components/1-atoms'),
molecules: path.resolve(__dirname, 'src/renderer/components/2-molecules'),
polymers: path.resolve(__dirname, 'src/renderer/components/3-polymers'),
cells: path.resolve(__dirname, 'src/renderer/components/4-cells'),
organisms: path.resolve(__dirname, 'src/renderer/components/5-organisms'),
templates: path.resolve(__dirname, 'src/renderer/components/6-templates'),
services: path.resolve(__dirname, 'src/renderer/services'),
},
},
};